[compiler-rt] r194583 - [ASan] Remove the stale dependency on the Foundation framework from the dynamic ASan runtime.
Alexander Potapenko
glider at google.com
Wed Nov 13 07:52:39 PST 2013
Author: glider
Date: Wed Nov 13 09:52:39 2013
New Revision: 194583
URL: http://llvm.org/viewvc/llvm-project?rev=194583&view=rev
Log:
[ASan] Remove the stale dependency on the Foundation framework from the dynamic ASan runtime.
Modified:
compiler-rt/trunk/lib/asan/CMakeLists.txt
compiler-rt/trunk/make/platform/clang_darwin.mk
Modified: compiler-rt/trunk/lib/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/CMakeLists.txt?rev=194583&r1=194582&r2=194583&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/asan/CMakeLists.txt Wed Nov 13 09:52:39 2013
@@ -85,9 +85,6 @@ if(APPLE)
# provided by the instrumented modules.
set(ASAN_RUNTIME_LDFLAGS
"-undefined dynamic_lookup")
- if (os STREQUAL "osx")
- list(APPEND ASAN_RUNTIME_LDFLAGS "-framework Foundation")
- endif()
add_compiler_rt_darwin_dynamic_runtime(clang_rt.asan_${os}_dynamic ${os}
ARCH ${ASAN_SUPPORTED_ARCH}
SOURCES $<TARGET_OBJECTS:RTAsan.${os}>
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=194583&r1=194582&r2=194583&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Wed Nov 13 09:52:39 2013
@@ -174,7 +174,7 @@ CFLAGS.profile_ios.armv7s := $(CFLAGS) $
# Configure the asan_osx_dynamic library to be built shared.
SHARED_LIBRARY.asan_osx_dynamic := 1
-LDFLAGS.asan_osx_dynamic := -framework Foundation -lstdc++ -undefined dynamic_lookup
+LDFLAGS.asan_osx_dynamic := -lstdc++ -undefined dynamic_lookup
FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
More information about the llvm-commits
mailing list