[PATCH] D33471: [asan] Remove allow_user_segv_handler on Windows.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 00:17:37 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL303728: [asan] Remove allow_user_segv_handler on Windows. (authored by vitalybuka).

Changed prior to commit:
  https://reviews.llvm.org/D33471?vs=100017&id=100045#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33471

Files:
  compiler-rt/trunk/lib/asan/asan_win.cc


Index: compiler-rt/trunk/lib/asan/asan_win.cc
===================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc
+++ compiler-rt/trunk/lib/asan/asan_win.cc
@@ -80,7 +80,7 @@
 INTERCEPTOR_WINAPI(LPTOP_LEVEL_EXCEPTION_FILTER, SetUnhandledExceptionFilter,
     LPTOP_LEVEL_EXCEPTION_FILTER ExceptionFilter) {
   CHECK(REAL(SetUnhandledExceptionFilter));
-  if (ExceptionFilter == &SEHHandler || common_flags()->allow_user_segv_handler)
+  if (ExceptionFilter == &SEHHandler)
     return REAL(SetUnhandledExceptionFilter)(ExceptionFilter);
   // We record the user provided exception handler to be called for all the
   // exceptions unhandled by asan.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33471.100045.patch
Type: text/x-patch
Size: 693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/e66022f0/attachment.bin>


More information about the llvm-commits mailing list