summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_libignore.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-10-15 11:34:59 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-10-15 11:34:59 +0000
commit3dbbd850cde5728c35aa4c15a279d858604fc6ee (patch)
tree657554dbf5bd7bff58b3736eebf17a050f6e1977 /lib/sanitizer_common/sanitizer_libignore.h
parent600d51680fb20f670695e931de60df4d88616e96 (diff)
tsan: resolve symlinks for called_from_lib suppressions
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@192688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_libignore.h')
-rw-r--r--lib/sanitizer_common/sanitizer_libignore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_libignore.h b/lib/sanitizer_common/sanitizer_libignore.h
index 4e6f5a97a..8e1d584d8 100644
--- a/lib/sanitizer_common/sanitizer_libignore.h
+++ b/lib/sanitizer_common/sanitizer_libignore.h
@@ -33,7 +33,7 @@ class LibIgnore {
void Init(const SuppressionContext &supp);
// Must be called after a new dynamic library is loaded.
- void OnLibraryLoaded();
+ void OnLibraryLoaded(const char *name);
// Must be called after a dynamic library is unloaded.
void OnLibraryUnloaded();
@@ -45,6 +45,7 @@ class LibIgnore {
struct Lib {
char *templ;
char *name;
+ char *real_name; // target of symlink
bool loaded;
};