From 7c180fa9153e743138c45e88114aab5d72b4dff5 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 30 Oct 2018 01:20:12 +0000 Subject: [PATCH] [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 --- compiler-rt/lib/ubsan_minimal/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler-rt/lib/ubsan_minimal/CMakeLists.txt b/compiler-rt/lib/ubsan_minimal/CMakeLists.txt index b70246845f84..e0910e80f97e 100644 --- a/compiler-rt/lib/ubsan_minimal/CMakeLists.txt +++ b/compiler-rt/lib/ubsan_minimal/CMakeLists.txt @@ -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}