[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
This commit is contained in:
Alexander Potapenko 2014-03-11 14:04:09 +00:00
parent 14cd8e900f
commit a0c5a6763a
1 changed files with 0 additions and 4 deletions

View File

@ -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}>