Chromium Code Reviews| Index: remoting/base/breakpad_win_unittest.cc |
| diff --git a/remoting/base/breakpad_win_unittest.cc b/remoting/base/breakpad_win_unittest.cc |
| index f0da52cfdb5312043136c3a6f987f484a99f5276..2f540e9a3110ffeb1cf4a95b43a0ded22ca42eb4 100644 |
| --- a/remoting/base/breakpad_win_unittest.cc |
| +++ b/remoting/base/breakpad_win_unittest.cc |
| @@ -140,9 +140,13 @@ void BreakpadWinDeathTest::SetUp() { |
| } |
| TEST_F(BreakpadWinDeathTest, TestAccessViolation) { |
| +#if !defined(ADDRESS_SANITIZER) |
| + // ASan overrides the user unhandled exception filter so we won't receive this |
| + // callback. |
| if (callbacks_.get()) { |
| EXPECT_CALL(*callbacks_, OnClientDumpRequested()); |
| } |
| +#endif |
|
Sergey Ulanov
2017/03/14 19:44:35
// !defined(ADDRESS_SANITIZER)
|
| // Generate access violation exception. |
| ASSERT_DEATH(*reinterpret_cast<volatile int*>(NULL) = 1, ""); |