diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2013-10-15 11:34:59 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2013-10-15 11:34:59 +0000 |
commit | 3dbbd850cde5728c35aa4c15a279d858604fc6ee (patch) | |
tree | 657554dbf5bd7bff58b3736eebf17a050f6e1977 /lib/sanitizer_common/sanitizer_libignore.h | |
parent | 600d51680fb20f670695e931de60df4d88616e96 (diff) | |
download | compiler-rt-3dbbd850cde5728c35aa4c15a279d858604fc6ee.tar.gz |
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.h | 3 |
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; }; |