summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-01-07 00:38:24 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-01-07 00:38:24 +0000
commitdf7da15b5ed91ef3f1ef8ff19bac8d33b56a6374 (patch)
tree16bf179d5e0904b38d786ab396e62f268e60a321 /lib/sanitizer_common
parent421408c0f2cc811bcf9a945be6e95e46f76cb358 (diff)
downloadcompiler-rt-df7da15b5ed91ef3f1ef8ff19bac8d33b56a6374.tar.gz
Revert "Enable weak hooks on darwin"
Reverts accidental upload. This reverts commit 421408c0f2cc811bcf9a945be6e95e46f76cb358. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@291316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common')
-rw-r--r--lib/sanitizer_common/sanitizer_internal_defs.h2
-rw-r--r--lib/sanitizer_common/weak_symbols.txt6
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h
index 5338f7942..8ebe91a6b 100644
--- a/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -32,7 +32,7 @@
# define SANITIZER_WEAK_ATTRIBUTE __attribute__((weak))
#endif
-#if (SANITIZER_LINUX || SANITIZER_MAC || SANITIZER_WINDOWS) && !SANITIZER_GO
+#if (SANITIZER_LINUX || SANITIZER_WINDOWS) && !SANITIZER_GO
# define SANITIZER_SUPPORTS_WEAK_HOOKS 1
#else
# define SANITIZER_SUPPORTS_WEAK_HOOKS 0
diff --git a/lib/sanitizer_common/weak_symbols.txt b/lib/sanitizer_common/weak_symbols.txt
deleted file mode 100644
index 8a1e32b80..000000000
--- a/lib/sanitizer_common/weak_symbols.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-___sanitizer_free_hook
-___sanitizer_malloc_hook
-___sanitizer_symbolize_code
-___sanitizer_symbolize_data
-___sanitizer_symbolize_demangle
-___sanitizer_symbolize_flush