[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

llvm-svn: 349897
This commit is contained in:
Dan Liew 2018-12-21 11:57:31 +00:00
parent 2d94c2265e
commit 88fe16c56d

View File

@ -16,6 +16,13 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT ANDROID)
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)