summaryrefslogtreecommitdiff
path: root/lib/asan/asan_linux.cc
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-01-28 09:28:57 +0000
committerAlexander Potapenko <glider@google.com>2014-01-28 09:28:57 +0000
commit5819ad91e6543976f2f65f21715ac012bbe6b339 (patch)
treedffdda2869eef693773a97a905e080c4603d7852 /lib/asan/asan_linux.cc
parent9aafd3036a6a7bfa2d63b59fd26c72b77978b719 (diff)
[ASan] Move the signal handling-related flags to sanitizer_common.
This change is a part of refactoring intended to have common signal handling behavior in all tools. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_linux.cc')
-rw-r--r--lib/asan/asan_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_linux.cc b/lib/asan/asan_linux.cc
index a500f978e..871068b91 100644
--- a/lib/asan/asan_linux.cc
+++ b/lib/asan/asan_linux.cc
@@ -99,7 +99,7 @@ void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) {
}
bool AsanInterceptsSignal(int signum) {
- return signum == SIGSEGV && flags()->handle_segv;
+ return signum == SIGSEGV && common_flags()->handle_segv;
}
void AsanPlatformThreadInit() {