Revert "Revert "Attempt to pacify ASan and UBSan reports in CrashRecovery tests""

This dependents on r303729 which was reverted.

This reverts commit r303783.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vitaly Buka 2017-05-24 19:11:12 +00:00
parent 35596590b5
commit fee7735cee

View File

@ -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;