summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_flags.h
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-04-04 09:10:58 +0000
committerKostya Serebryany <kcc@google.com>2014-04-04 09:10:58 +0000
commit8dc0d7f875b37003ce805dfe04c88bee3f02a6b8 (patch)
tree6d88d3e02c4c9e348ab9cb098d95f317ee6aa909 /lib/sanitizer_common/sanitizer_flags.h
parent9b9e4c998fc000f5d5120fb1d9c343ee8479ec38 (diff)
[asan] fix a leak in __tls_get_addr handler; introduce a run-time flag to disable this handler completely; remove a workaround for a bug fixed in glibc
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@205617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_flags.h')
-rw-r--r--lib/sanitizer_common/sanitizer_flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_flags.h b/lib/sanitizer_common/sanitizer_flags.h
index 627040173..25dd887a8 100644
--- a/lib/sanitizer_common/sanitizer_flags.h
+++ b/lib/sanitizer_common/sanitizer_flags.h
@@ -50,6 +50,7 @@ struct CommonFlags {
uptr clear_shadow_mmap_threshold;
const char *color;
bool legacy_pthread_cond;
+ bool intercept_tls_get_addr;
bool help;
};