[compiler-rt] r240767 - [libsanitizer] Delete the unused GetBinaryName() function.
Alexander Potapenko
glider at google.com
Fri Jun 26 02:28:25 PDT 2015
Author: glider
Date: Fri Jun 26 04:28:24 2015
New Revision: 240767
URL: http://llvm.org/viewvc/llvm-project?rev=240767&view=rev
Log:
[libsanitizer] Delete the unused GetBinaryName() function.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc?rev=240767&r1=240766&r2=240767&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.cc Fri Jun 26 04:28:24 2015
@@ -347,10 +347,6 @@ bool TemplateMatch(const char *templ, co
static char binary_name_cache_str[kMaxPathLength];
static const char *binary_basename_cache_str;
-const char *GetBinaryName() {
- return binary_name_cache_str;
-}
-
const char *GetBinaryBasename() {
return binary_basename_cache_str;
}
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h?rev=240767&r1=240766&r2=240767&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h Fri Jun 26 04:28:24 2015
@@ -243,7 +243,6 @@ const char *StripModuleName(const char *
// OS
uptr ReadBinaryName(/*out*/char *buf, uptr buf_len);
-const char *GetBinaryName();
const char *GetBinaryBasename();
void CacheBinaryName();
void DisableCoreDumperIfNecessary();
More information about the llvm-commits
mailing list