diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2015-03-02 17:36:02 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2015-03-02 17:36:02 +0000 |
commit | b79ac88155e805015af1b5691e25a325c9eeda57 (patch) | |
tree | 6c7230ddf4028a86514d85b338d4970c27496332 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d61f7d8c39189120affc30c9b03f731592d8972c (diff) | |
download | llvm-b79ac88155e805015af1b5691e25a325c9eeda57.zip llvm-b79ac88155e805015af1b5691e25a325c9eeda57.tar.gz llvm-b79ac88155e805015af1b5691e25a325c9eeda57.tar.bz2 |
asan: fix signal handling during stoptheworld
The problem is that without SA_RESTORER flag, kernel ignores the handler. So tracer actually did not setup any handler.
Add SA_RESTORER flag when setting up handlers.
Add a test that causes SIGSEGV in stoptheworld callback.
Move SignalContext from asan to sanitizer_common to print better diagnostics about signal in the tracer thread.
http://reviews.llvm.org/D8005
llvm-svn: 230978
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions