diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-12 10:21:52 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-12 10:21:52 +0000 |
commit | 0797ff48ae6a585382b6ff8bda98dfa72874e4d0 (patch) | |
tree | a83ce3217bd00dacca41eb43383d911b618ca3c1 /lib/interception | |
parent | abd768d337ffc997392323a70c8c53e459173d9b (diff) | |
download | compiler-rt-0797ff48ae6a585382b6ff8bda98dfa72874e4d0.tar.gz |
[sanitizer] Avoid needless use of stringification (#symver) in INTERCEPT_FUNCTION_VER.
This is a workaround for clang-format bug (PR17874).
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception')
-rw-r--r-- | lib/interception/interception_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/interception/interception_linux.h b/lib/interception/interception_linux.h index b2f74d105..cea957320 100644 --- a/lib/interception/interception_linux.h +++ b/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) |