[ubsan-minimal] update comments in CMakeLists.txt

Summary:
Prepend minimal when UBsan is mentioned and delete a dead comment

Patch by Igor Sugak

Reviewers: eugenis, pcc

Reviewed By: eugenis

Subscribers: mgorny, llvm-commits, #sanitizers

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

llvm-svn: 345557
This commit is contained in:
Vitaly Buka 2018-10-30 01:20:12 +00:00
parent 9817192691
commit 7c180fa915
1 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# Build for the undefined behavior sanitizer runtime support library.
# Build for the minimal undefined behavior sanitizer runtime support library.
set(UBSAN_MINIMAL_SOURCES
ubsan_minimal_handlers.cc
@ -15,7 +15,7 @@ set(UBSAN_DYNAMIC_LIBS ${SANITIZER_COMMON_LINK_LIBS})
add_compiler_rt_component(ubsan-minimal)
# Common parts of UBSan runtime.
# Common parts of minimal UBSan runtime.
add_compiler_rt_object_libraries(RTUbsan_minimal
OS ${SANITIZER_COMMON_SUPPORTED_OS}
ARCHS ${UBSAN_COMMON_SUPPORTED_ARCH}
@ -23,9 +23,7 @@ add_compiler_rt_object_libraries(RTUbsan_minimal
if(COMPILER_RT_HAS_UBSAN_MINIMAL)
# Initializer of standalone UBSan runtime.
# Standalone UBSan runtimes.
# Standalone minimal UBSan runtimes.
add_compiler_rt_runtime(clang_rt.ubsan_minimal
STATIC
OS ${SANITIZER_COMMON_SUPPORTED_OS}