diff options
author | Alexander Potapenko <glider@google.com> | 2014-03-11 14:04:09 +0000 |
---|---|---|
committer | Alexander Potapenko <glider@google.com> | 2014-03-11 14:04:09 +0000 |
commit | 17372eaac6b84bc87a6d5478067a495f5300d044 (patch) | |
tree | ca9c29345635586a04ef7ef8b0d81b8de61c3266 /lib/asan | |
parent | 2ecebc414b4a7ac5e7ded2f34292133989f1533c (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@203572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan')
-rw-r--r-- | lib/asan/CMakeLists.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/asan/CMakeLists.txt b/lib/asan/CMakeLists.txt index 4d4394b10..720c6c871 100644 --- a/lib/asan/CMakeLists.txt +++ b/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}> |