Author: glider
Date: Fri Nov 15 08:56:31 2013
New Revision: 194816
URL: http://llvm.org/viewvc/llvm-project?rev=194816&view=rev
Log:
[ASan] If the iOS Simulator SDK is available, build the ASan iossim runtime
using configure+make.
Modified:
cfe/trunk/runtime/compiler-rt/Makefile
Modified: cfe/trunk/runtime/compiler-rt/Makefile
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/runtime/compiler-rt/Makefile?rev=194816&r1=194815&r2=194816&view=diff
==============================================================================
--- cfe/trunk/runtime/compiler-rt/Makefile (original)
+++ cfe/trunk/runtime/compiler-rt/Makefile Fri Nov 15 08:56:31 2013
@@ -94,6 +94,10 @@ ACTIVE_SDK_PATH := $(shell xcrun --show-
ifneq ($(ACTIVE_SDK_PATH),)
COMPILERRT_MAKE_FLAGS := SDKROOT=$(ACTIVE_SDK_PATH)
endif
+IOSSIM_SDK_PATH := $(shell xcrun --show-sdk-path -sdk iphonesimulator 2>
/dev/null)
+ifneq ($(IOSSIM_SDK_PATH),)
+RuntimeLibrary.darwin.Configs += asan_iossim_dynamic.dylib
+endif
endif
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits