[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
Fri Jan 6 14:56:44 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL291294: Ensure that only one compiler-rt component is created for lsan (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D28151?vs=82795&id=83439#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28151

Files:
  compiler-rt/trunk/lib/lsan/CMakeLists.txt


Index: compiler-rt/trunk/lib/lsan/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/lsan/CMakeLists.txt
+++ compiler-rt/trunk/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.83439.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170106/7316e45c/attachment.bin>


More information about the llvm-commits mailing list