summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2014-03-11 14:04:09 +0000
committerAlexander Potapenko <glider@google.com>2014-03-11 14:04:09 +0000
commita0c5a6763aff1775cefb9dfc2178503be0dc544f (patch)
treecb0270fac30a3929d0fa5754c904d713535dd349
parent14cd8e900fda36057af839d78d4dd81cc869a8ac (diff)
downloadbcm5719-llvm-a0c5a6763aff1775cefb9dfc2178503be0dc544f.tar.gz
bcm5719-llvm-a0c5a6763aff1775cefb9dfc2178503be0dc544f.zip
[ASan] Don't build the ASan runtime with -undefined dynamic_lookup, which isn't necessary anymore.
Fixes https://code.google.com/p/address-sanitizer/issues/detail?id=266. llvm-svn: 203572
-rw-r--r--compiler-rt/lib/asan/CMakeLists.txt4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/lib/asan/CMakeLists.txt b/compiler-rt/lib/asan/CMakeLists.txt
index 4d4394b101c..720c6c8715a 100644
--- a/compiler-rt/lib/asan/CMakeLists.txt
+++ b/compiler-rt/lib/asan/CMakeLists.txt
@@ -78,10 +78,6 @@ endif()
add_custom_target(asan)
if(APPLE)
foreach (os ${SANITIZER_COMMON_SUPPORTED_DARWIN_OS})
- # Dynamic lookup is needed because shadow scale and offset are
- # provided by the instrumented modules.
- set(ASAN_RUNTIME_LDFLAGS
- "-undefined dynamic_lookup")
add_compiler_rt_darwin_dynamic_runtime(clang_rt.asan_${os}_dynamic ${os}
ARCH ${ASAN_SUPPORTED_ARCH}
SOURCES $<TARGET_OBJECTS:RTAsan.${os}>
OpenPOWER on IntegriCloud