[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

llvm-svn: 295232
This commit is contained in:
Etienne Bergeron 2017-02-15 20:48:04 +00:00
parent 15a6e7daab
commit b69639e217
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) {
// 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;