[compiler-rt] r295232 - [compiler-rt][asan|win] Fix ASAN exception handler missing import
Etienne Bergeron via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 12:48:04 PST 2017
Author: etienneb
Date: Wed Feb 15 14:48:04 2017
New Revision: 295232
URL: http://llvm.org/viewvc/llvm-project?rev=295232&view=rev
Log:
[compiler-rt][asan|win] Fix ASAN exception handler missing import
Summary:
This patch is adding a missing ASAN API redirection from an instrumented DLL.
The bug was introduced here:
https://reviews.llvm.org/D29463
This is causing this chromium bug:
https://bugs.chromium.org/p/chromium/issues/detail?id=692580
Reviewers: rnk
Reviewed By: rnk
Subscribers: kubamracek, dberris, llvm-commits, chrisha, thakis
Differential Revision: https://reviews.llvm.org/D30001
Modified:
compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc
Modified: compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc?rev=295232&r1=295231&r2=295232&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win_dll_thunk.cc Wed Feb 15 14:48:04 2017
@@ -100,6 +100,7 @@ INTERCEPTOR(int, _except_handler4, void
// Window specific functions not included in asan_interface.inc.
INTERCEPT_WRAP_W_V(__asan_should_detect_stack_use_after_return)
INTERCEPT_WRAP_W_V(__asan_get_shadow_memory_dynamic_address)
+INTERCEPT_WRAP_W_W(__asan_unhandled_exception_filter)
using namespace __sanitizer;
More information about the llvm-commits
mailing list