[compiler-rt] r245326 - [CMake] Backing out part of r245317. Turns out safestack and profile don't work correctly on the iOS simulator and enabling it breaks tests.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 11:35:18 PDT 2015


Author: cbieneman
Date: Tue Aug 18 13:35:18 2015
New Revision: 245326

URL: http://llvm.org/viewvc/llvm-project?rev=245326&view=rev
Log:
[CMake] Backing out part of r245317. Turns out safestack and profile don't work correctly on the iOS simulator and enabling it breaks tests.

Modified:
    compiler-rt/trunk/lib/profile/CMakeLists.txt
    compiler-rt/trunk/lib/safestack/CMakeLists.txt

Modified: compiler-rt/trunk/lib/profile/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/CMakeLists.txt?rev=245326&r1=245325&r2=245326&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/profile/CMakeLists.txt Tue Aug 18 13:35:18 2015
@@ -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}

Modified: compiler-rt/trunk/lib/safestack/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/safestack/CMakeLists.txt?rev=245326&r1=245325&r2=245326&view=diff
==============================================================================
--- compiler-rt/trunk/lib/safestack/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/safestack/CMakeLists.txt Tue Aug 18 13:35:18 2015
@@ -8,7 +8,7 @@ set(SAFESTACK_CFLAGS ${SANITIZER_COMMON_
 
 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}




More information about the llvm-commits mailing list