summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMarcos Pividori <mpividori@google.com>2017-02-02 23:02:04 +0000
committerMarcos Pividori <mpividori@google.com>2017-02-02 23:02:04 +0000
commite49ec6d57ccc5de42e8f3a45a47ff3617b075910 (patch)
tree7565bb205bc42b7c32652e92296dd0a4151f9c18 /llvm/lib/Bitcode
parentfe9288a6a06b9fe1cb616183290d0414da743d0c (diff)
downloadbcm5719-llvm-e49ec6d57ccc5de42e8f3a45a47ff3617b075910.tar.gz
bcm5719-llvm-e49ec6d57ccc5de42e8f3a45a47ff3617b075910.zip
[asan] Intercept SetUnhandledExceptionFilter.
In this diff I update the code for asan on Windows, so we can intercept SetUnhandledExceptionFilter and catch some exceptions depending on the result of IsHandledDeadlyException() (which depends on asan flags). This way we have the same behavior on Windows and Posix systems. On Posix, we intercept signal and sigaction, so user's code can only register signal handlers for signals that are not handled by asan. After this diff, the same happens on Windows, user's code can only register exception handlers for exceptions that are not handled by asan. Differential Revision: https://reviews.llvm.org/D29463 llvm-svn: 293957
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud