diff options
Diffstat (limited to 'chromium/patches/sanitizer-no-death-callback.patch')
| -rw-r--r-- | chromium/patches/sanitizer-no-death-callback.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/patches/sanitizer-no-death-callback.patch b/chromium/patches/sanitizer-no-death-callback.patch new file mode 100644 index 0000000..b2c1e1f --- /dev/null +++ b/chromium/patches/sanitizer-no-death-callback.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | undefined symbol in our build | ||
| 2 | |||
| 3 | --- a/v8/src/sandbox/testing.cc | ||
| 4 | +++ b/v8/src/sandbox/testing.cc | ||
| 5 | @@ -578,7 +578,7 @@ void UninstallCrashFilter() { | ||
| 6 | // We should also uninstall the sanitizer death callback as our crash filter | ||
| 7 | // may hand a crash over to sanitizers, which should then not enter our crash | ||
| 8 | // filtering logic a second time. | ||
| 9 | -#ifdef V8_USE_ANY_SANITIZER | ||
| 10 | +#if 0 | ||
| 11 | __sanitizer_set_death_callback(nullptr); | ||
| 12 | #endif // V8_USE_ANY_SANITIZER | ||
| 13 | } | ||
| 14 | @@ -782,7 +782,7 @@ void InstallCrashFilter() { | ||
| 15 | } | ||
| 16 | CHECK(success); | ||
| 17 | |||
| 18 | -#ifdef V8_USE_ANY_SANITIZER | ||
| 19 | +#if 0 | ||
| 20 | // We install sanitizer specific crash handlers. These can only check for | ||
| 21 | // in-sandbox crashes on certain configurations. | ||
| 22 | // | ||