summaryrefslogtreecommitdiff
path: root/lib/stats
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/stats
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/stats')
-rw-r--r--lib/stats/CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/stats/CMakeLists.txt b/lib/stats/CMakeLists.txt
index ec75262d4..33ab1aea6 100644
--- a/lib/stats/CMakeLists.txt
+++ b/lib/stats/CMakeLists.txt
@@ -5,14 +5,8 @@ set_target_properties(stats PROPERTIES FOLDER "Compiler-RT Misc")
if(APPLE)
set(STATS_LIB_FLAVOR SHARED)
-
- add_weak_symbols("asan" WEAK_SYMBOL_LINKFLAGS)
- add_weak_symbols("ubsan" WEAK_SYMBOL_LINKFLAGS)
- add_weak_symbols("sanitizer_common" WEAK_SYMBOL_LINKFLAGS)
else()
set(STATS_LIB_FLAVOR STATIC)
-
- set(WEAK_SYMBOL_LINKFLAGS)
endif()
add_compiler_rt_runtime(clang_rt.stats
@@ -23,7 +17,6 @@ add_compiler_rt_runtime(clang_rt.stats
OBJECT_LIBS RTSanitizerCommon
RTSanitizerCommonLibc
CFLAGS ${SANITIZER_COMMON_CFLAGS}
- LINKFLAGS ${WEAK_SYMBOL_LINKFLAGS}
PARENT_TARGET stats)
add_compiler_rt_runtime(clang_rt.stats_client
@@ -32,5 +25,4 @@ add_compiler_rt_runtime(clang_rt.stats_client
OS ${SANITIZER_COMMON_SUPPORTED_OS}
SOURCES stats_client.cc
CFLAGS ${SANITIZER_COMMON_CFLAGS}
- LINKFLAGS ${WEAK_SYMBOL_LINKFLAGS}
PARENT_TARGET stats)