Intercept signal() and sigaction() within the dynamic runtime on Mac.
commit58b017bb286a8f4413a9348d2c87c52de38cff6d
authorAlexander Potapenko <glider@google.com>
Tue, 18 Sep 2012 12:49:51 +0000 (18 12:49 +0000)
committerAlexander Potapenko <glider@google.com>
Tue, 18 Sep 2012 12:49:51 +0000 (18 12:49 +0000)
treee4ec35bce5a121efd108d7443349b29c3e6fd287
parent0f4ae5d0e3223627ec60c9159f32bfa73038bce7
Intercept signal() and sigaction() within the dynamic runtime on Mac.
Add a test that ensures that ASan does not allow to override the signal handlers.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@164118 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/dynamic/asan_interceptors_dynamic.cc
lib/asan/tests/asan_test.cc