summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-08-18 18:35:18 +0000
committerChris Bieneman <beanz@apple.com>2015-08-18 18:35:18 +0000
commitd8b76ce3bf981b042352559306fe55fa29862ca3 (patch)
tree0424922c09d86f2a011bae364823dda6f96a8e51
parentda99734d8971ada342b40b9b99c7e21449c1820f (diff)
downloadbcm5719-llvm-d8b76ce3bf981b042352559306fe55fa29862ca3.tar.gz
bcm5719-llvm-d8b76ce3bf981b042352559306fe55fa29862ca3.zip
[CMake] Backing out part of r245317. Turns out safestack and profile don't work correctly on the iOS simulator and enabling it breaks tests.
llvm-svn: 245326
-rw-r--r--compiler-rt/lib/profile/CMakeLists.txt2
-rw-r--r--compiler-rt/lib/safestack/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt
index fabac159676..a21ec3053eb 100644
--- a/compiler-rt/lib/profile/CMakeLists.txt
+++ b/compiler-rt/lib/profile/CMakeLists.txt
@@ -11,7 +11,7 @@ set(PROFILE_SOURCES
InstrProfilingUtil.c)
if(APPLE)
- foreach (os ${SANITIZER_COMMON_SUPPORTED_OS})
+ foreach (os osx)
add_compiler_rt_darwin_runtime(clang_rt.profile_${os} ${os}
STATIC
ARCHS ${PROFILE_SUPPORTED_ARCH}
diff --git a/compiler-rt/lib/safestack/CMakeLists.txt b/compiler-rt/lib/safestack/CMakeLists.txt
index d6969f98b7c..a958470e812 100644
--- a/compiler-rt/lib/safestack/CMakeLists.txt
+++ b/compiler-rt/lib/safestack/CMakeLists.txt
@@ -8,7 +8,7 @@ set(SAFESTACK_CFLAGS ${SANITIZER_COMMON_CFLAGS})
if(APPLE)
# Build universal binary on APPLE.
- foreach (os ${SANITIZER_COMMON_SUPPORTED_OS})
+ foreach (os osx)
add_compiler_rt_darwin_runtime(clang_rt.safestack_${os} ${os}
STATIC
ARCH ${SAFESTACK_SUPPORTED_ARCH}
OpenPOWER on IntegriCloud