diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-05-24 19:11:12 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-05-24 19:11:12 +0000 |
commit | 46fe6d47cca5cb7fd47186902612be0984c9a4c3 (patch) | |
tree | ed6f98859afffba68c4aba6197d7f2601acf5ed0 | |
parent | 62882c93c8edcf1fb949b668c369180484765763 (diff) | |
download | bcm5719-llvm-46fe6d47cca5cb7fd47186902612be0984c9a4c3.tar.gz bcm5719-llvm-46fe6d47cca5cb7fd47186902612be0984c9a4c3.zip |
Revert "Revert "Attempt to pacify ASan and UBSan reports in CrashRecovery tests""
This dependents on r303729 which was reverted.
This reverts commit r303783.
llvm-svn: 303796
-rw-r--r-- | llvm/unittests/Support/CrashRecoveryTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/unittests/Support/CrashRecoveryTest.cpp b/llvm/unittests/Support/CrashRecoveryTest.cpp index e9ffd1f8871..33d87a1c0e4 100644 --- a/llvm/unittests/Support/CrashRecoveryTest.cpp +++ b/llvm/unittests/Support/CrashRecoveryTest.cpp @@ -17,6 +17,10 @@ #include <windows.h> #endif +extern "C" const char *__asan_default_options() { + return "allow_user_segv_handler=1"; +} + using namespace llvm; using namespace llvm::sys; |