We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e0447 commit 1b9c02eCopy full SHA for 1b9c02e
unittest/gunit/segfault-t.cc
@@ -61,6 +61,9 @@ TEST_F(FatalSignalDeathTest, Segfault)
61
gtest library instead.
62
*/
63
EXPECT_DEATH_IF_SUPPORTED(*pint= 42, "");
64
+#elif defined(__SANITIZE_ADDRESS__)
65
+ /* gcc 4.8.1 with '-fsanitize=address -O1' */
66
+ EXPECT_DEATH_IF_SUPPORTED(*pint= 42, ".*ASAN:SIGSEGV.*");
67
#else
68
/*
69
On most platforms we get SIGSEGV == 11, but SIGBUS == 10 is also possible.
0 commit comments