[PATCH] D28151: Ensure that only one compiler-rt component is created for lsan

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 18:30:43 PST 2017


fjricci updated this revision to Diff 82795.
fjricci added a comment.

Undo upload of incorrect commit


https://reviews.llvm.org/D28151

Files:
  lib/lsan/CMakeLists.txt


Index: lib/lsan/CMakeLists.txt
===================================================================
--- lib/lsan/CMakeLists.txt
+++ lib/lsan/CMakeLists.txt
@@ -23,9 +23,8 @@
     CFLAGS ${LSAN_CFLAGS})
 
 if(COMPILER_RT_HAS_LSAN)
+  add_compiler_rt_component(lsan)
   foreach(arch ${LSAN_SUPPORTED_ARCH})
-    add_compiler_rt_component(lsan)
-    
     add_compiler_rt_runtime(clang_rt.lsan
       STATIC
       ARCHS ${arch}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28151.82795.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170102/1942f1b4/attachment.bin>


More information about the llvm-commits mailing list