summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception/interception_linux.h
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-12 10:21:52 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-11-12 10:21:52 +0000
commit90e12a6cb2096917a89fbe18b391cf3e95c69c13 (patch)
tree38c8edf52cb51c3bc62915c6fe0156e01de938d3 /compiler-rt/lib/interception/interception_linux.h
parent44657ef6e5234902e0f34d8e3bcf9d10993bd45e (diff)
downloadbcm5719-llvm-90e12a6cb2096917a89fbe18b391cf3e95c69c13.tar.gz
bcm5719-llvm-90e12a6cb2096917a89fbe18b391cf3e95c69c13.zip
[sanitizer] Avoid needless use of stringification (#symver) in INTERCEPT_FUNCTION_VER.
This is a workaround for clang-format bug (PR17874). llvm-svn: 194468
Diffstat (limited to 'compiler-rt/lib/interception/interception_linux.h')
-rw-r--r--compiler-rt/lib/interception/interception_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/interception/interception_linux.h b/compiler-rt/lib/interception/interception_linux.h
index b2f74d105eb..cea957320d0 100644
--- a/compiler-rt/lib/interception/interception_linux.h
+++ b/compiler-rt/lib/interception/interception_linux.h
@@ -37,7 +37,7 @@ void *GetFuncAddrVer(const char *func_name, const char *ver);
#if !defined(__ANDROID__) // android does not have dlvsym
# define INTERCEPT_FUNCTION_VER_LINUX(func, symver) \
::__interception::real_##func = (func##_f)(unsigned long) \
- ::__interception::GetFuncAddrVer(#func, #symver)
+ ::__interception::GetFuncAddrVer(#func, symver)
#else
# define INTERCEPT_FUNCTION_VER_LINUX(func, symver) \
INTERCEPT_FUNCTION_LINUX(func)
OpenPOWER on IntegriCloud