[ASan] Revert the incorrect macro on Linux.
authorAlexander Potapenko <glider@google.com>
Thu, 21 Feb 2013 15:15:43 +0000 (15:15 +0000)
committerAlexander Potapenko <glider@google.com>
Thu, 21 Feb 2013 15:15:43 +0000 (15:15 +0000)
llvm-svn: 175745

compiler-rt/lib/asan/asan_interceptors.cc

index 5f3975b..8d198b9 100644 (file)
@@ -341,7 +341,7 @@ INTERCEPTOR(char*, strchr, const char *str, int c) {
 #if ASAN_INTERCEPT_INDEX
 # if ASAN_USE_ALIAS_ATTRIBUTE_FOR_INDEX
 INTERCEPTOR(char*, index, const char *string, int c)
-  WEAK_ALIAS(WRAPPER_NAME(strchr));
+  ALIAS(WRAPPER_NAME(strchr));
 # else
 #  if defined(__APPLE__)
 DECLARE_REAL(char*, index, const char *string, int c)