Commit 0c3b2986 authored by Mitch Phillips's avatar Mitch Phillips
Browse files

[GWP-ASan] Change crash handler constant.

Constant is too large to fit into uintptr_t on 32-bit.
parent 40efa65d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ protected:
};

uintptr_t CrashHandlerAPITest::BacktraceConstants[kNumBacktraceConstants] = {
    0xdeadbeef, 0xdeadc0de, 0xbadc0ffee, 0xcafef00d};
    0xdeadbeef, 0xdeadc0de, 0xbadc0ffe, 0xcafef00d};

TEST_F(CrashHandlerAPITest, PointerNotMine) {
  uintptr_t UnknownPtr = reinterpret_cast<uintptr_t>(&State);