[PATCH] D14846: [CMake] Provide options for toggling on and off various runtime libraries.
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 9 13:20:29 PST 2015
beanz added a comment.
Updated patches coming shortly. One comment below.
================
Comment at: lib/CMakeLists.txt:12
@@ -11,37 +11,3 @@
if(COMPILER_RT_BUILD_SANITIZERS)
- if(COMPILER_RT_HAS_INTERCEPTION)
- add_subdirectory(interception)
- endif()
-
- if(COMPILER_RT_HAS_SANITIZER_COMMON)
- add_subdirectory(sanitizer_common)
- add_subdirectory(lsan)
- add_subdirectory(ubsan)
- endif()
-
- add_subdirectory(cfi)
-
- if(COMPILER_RT_HAS_ASAN)
- add_subdirectory(asan)
- endif()
-
- if(COMPILER_RT_HAS_DFSAN)
- add_subdirectory(dfsan)
- endif()
-
- if(COMPILER_RT_HAS_MSAN)
- add_subdirectory(msan)
- endif()
-
- if(COMPILER_RT_HAS_PROFILE)
- add_subdirectory(profile)
- endif()
-
- if(COMPILER_RT_HAS_TSAN)
- add_subdirectory(tsan)
- add_subdirectory(tsan/dd)
- endif()
-
- if(COMPILER_RT_HAS_SAFESTACK)
- add_subdirectory(safestack)
- endif()
+ message(STATUS "Adding runtimes...")
+ foreach(runtime ${COMPILER_RT_RUNTIMES_TO_BUILD})
----------------
samsonov wrote:
> Is it a debug output?
I intended this to be much like the logging we do in LLVM for adding targets.
I thought this heading should be there because if there are no runtimes following it you know there are no runtimes being included.
http://reviews.llvm.org/D14846
More information about the llvm-commits
mailing list