summaryrefslogtreecommitdiff
path: root/cmake/Modules
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 /cmake/Modules
parent421408c0f2cc811bcf9a945be6e95e46f76cb358 (diff)
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 'cmake/Modules')
-rw-r--r--cmake/Modules/SanitizerUtils.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake/Modules/SanitizerUtils.cmake b/cmake/Modules/SanitizerUtils.cmake
index 6ead24e12..c66083c24 100644
--- a/cmake/Modules/SanitizerUtils.cmake
+++ b/cmake/Modules/SanitizerUtils.cmake
@@ -46,15 +46,6 @@ macro(add_sanitizer_rt_symbols name)
endforeach()
endmacro()
-function(add_weak_symbols libname linkflags)
- file(STRINGS "${COMPILER_RT_SOURCE_DIR}/lib/${libname}/weak_symbols.txt" WEAK_SYMBOLS)
- set(local_linkflags ${${linkflags}})
- foreach(SYMBOL ${WEAK_SYMBOLS})
- set(local_linkflags ${local_linkflags} -Wl,-U,${SYMBOL})
- endforeach()
- set(${linkflags} ${local_linkflags} PARENT_SCOPE)
-endfunction()
-
macro(add_sanitizer_rt_version_list name)
set(vers ${CMAKE_CURRENT_BINARY_DIR}/${name}.vers)
cmake_parse_arguments(ARG "" "" "LIBS;EXTRA" ${ARGN})