[PATCH] D29355: [asan] Support handle_sigfpe on Darwin
Justin Bogner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 15:38:12 PST 2017
bogner created this revision.
Herald added a subscriber: mcrosier.
https://reviews.llvm.org/D29355
Files:
lib/sanitizer_common/sanitizer_mac.cc
Index: lib/sanitizer_common/sanitizer_mac.cc
===================================================================
--- lib/sanitizer_common/sanitizer_mac.cc
+++ lib/sanitizer_common/sanitizer_mac.cc
@@ -402,6 +402,8 @@
return true;
if (common_flags()->handle_sigill && signum == SIGILL)
return true;
+ if (common_flags()->handle_sigfpe && signum == SIGFPE)
+ return true;
return (signum == SIGSEGV || signum == SIGBUS) && common_flags()->handle_segv;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29355.86511.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/e6a602d0/attachment.bin>
More information about the llvm-commits
mailing list