[compiler-rt] r349897 - [CMake] Print out the list of sanitizers that the sanitizer_common tests will run against.

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 21 03:57:31 PST 2018


Author: delcypher
Date: Fri Dec 21 03:57:31 2018
New Revision: 349897

URL: http://llvm.org/viewvc/llvm-project?rev=349897&view=rev
Log:
[CMake] Print out the list of sanitizers that the sanitizer_common tests will run against.

Summary:
This is a change requested by Vitaly Buka as prerequisite to landing
https://reviews.llvm.org/D55740.

Reviewers: vitalybuka, kubamracek

Subscribers: mgorny, #sanitizers, llvm-commits

Differential Revision: https://reviews.llvm.org/D55939

Modified:
    compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt

Modified: compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt?rev=349897&r1=349896&r2=349897&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/sanitizer_common/CMakeLists.txt Fri Dec 21 03:57:31 2018
@@ -16,6 +16,13 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND
   list(APPEND SUPPORTED_TOOLS lsan)
 endif()
 
+# FIXME(dliew): Remove this.
+# Temporary helper for https://reviews.llvm.org/D55740
+message(
+  STATUS
+  "sanitizer_common tests on \"${CMAKE_SYSTEM_NAME}\" will run against "
+  "\"${SUPPORTED_TOOLS}\"")
+
 # Create a separate config for each tool we support.
 foreach(tool ${SUPPORTED_TOOLS})
   string(TOUPPER ${tool} tool_toupper)




More information about the llvm-commits mailing list