summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2015-02-27 03:12:19 +0000
committerAnna Zaks <ganna@apple.com>2015-02-27 03:12:19 +0000
commit2249049db2d0341a037da92c25f141db7ceea6d8 (patch)
tree1d75096068743a2d8bac42c0bac1c8ff7e6ff662 /compiler-rt/lib/sanitizer_common/sanitizer_linux.h
parent5bc883f39ebab81b54629feebc7da6b6d5e2b8aa (diff)
downloadbcm5719-llvm-2249049db2d0341a037da92c25f141db7ceea6d8.tar.gz
bcm5719-llvm-2249049db2d0341a037da92c25f141db7ceea6d8.zip
[compiler-rt] Allow suppression file to be relative to the location of the executable
The ASanified executable could be launched from different locations. When we cannot find the suppression file relative to the current directory, try to see if the specified path is relative to the location of the executable. llvm-svn: 230723
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_linux.h')
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_linux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
index b2e603d3a23..2ce2025d2ab 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.h
@@ -80,8 +80,6 @@ uptr ThreadSelfOffset();
// information).
bool LibraryNameIs(const char *full_name, const char *base_name);
-// Read the name of the current binary from /proc/self/exe.
-uptr ReadBinaryName(/*out*/char *buf, uptr buf_len);
// Cache the value of /proc/self/exe.
void CacheBinaryName();
OpenPOWER on IntegriCloud