[PATCH] D53826: [ubsan-minimal] update comments in CMakeLists.txt

Igor Sugak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 29 12:27:51 PDT 2018


sugak created this revision.
sugak added reviewers: eugenis, pcc.
Herald added subscribers: Sanitizers, mgorny.

Prepend minimal when UBsan is mentioned and delete a dead comment


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D53826

Files:
  lib/ubsan_minimal/CMakeLists.txt


Index: lib/ubsan_minimal/CMakeLists.txt
===================================================================
--- lib/ubsan_minimal/CMakeLists.txt
+++ 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,17 +15,15 @@
 
 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}
   SOURCES ${UBSAN_MINIMAL_SOURCES} CFLAGS ${UBSAN_CFLAGS})
 
 
 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}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53826.171552.patch
Type: text/x-patch
Size: 999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/053b4153/attachment.bin>


More information about the llvm-commits mailing list