[PATCH] D33292: [Ubsan]Remove unused link libraries.

Leo Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 11:45:58 PDT 2017


aoli created this revision.
Herald added subscribers: mgorny, kubamracek.

Remove unused link libraries metioned in https://reviews.llvm.org/D33216.


https://reviews.llvm.org/D33292

Files:
  lib/ubsan/CMakeLists.txt


Index: lib/ubsan/CMakeLists.txt
===================================================================
--- lib/ubsan/CMakeLists.txt
+++ lib/ubsan/CMakeLists.txt
@@ -35,13 +35,9 @@
 append_list_if(SANITIZER_CAN_USE_CXXABI -DUBSAN_CAN_USE_CXXABI UBSAN_CXXFLAGS)
 
 append_list_if(COMPILER_RT_HAS_LIBDL dl UBSAN_DYNAMIC_LIBS)
-append_list_if(COMPILER_RT_HAS_LIBLOG log UBSAN_DYNAMIC_LIBS)
-append_list_if(COMPILER_RT_HAS_LIBC c UBSAN_DYNAMIC_LIBS)
 append_list_if(COMPILER_RT_HAS_LIBRT rt UBSAN_DYNAMIC_LIBS)
-append_list_if(COMPILER_RT_HAS_LIBM m UBSAN_DYNAMIC_LIBS)
 append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread UBSAN_DYNAMIC_LIBS)
-append_list_if(COMPILER_RT_HAS_LIBSTDCXX stdc++ UBSAN_DYNAMIC_LIBS)
- 
+
 add_compiler_rt_component(ubsan)
 
 if(APPLE)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33292.99333.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170517/5e17dc38/attachment.bin>


More information about the llvm-commits mailing list