mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 00:46:45 +08:00
[asan] Support handle_sigfpe on Darwin
llvm-svn: 293746
This commit is contained in:
@@ -402,6 +402,8 @@ bool IsHandledDeadlySignal(int signum) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user