[llvm] 4135494 - [gn build] Add cfi ignorelist to compiler-rt/lib

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 11:58:54 PDT 2021


Author: Arthur Eubanks
Date: 2021-08-04T11:58:32-07:00
New Revision: 41354942c5c3cd4b9ae59179feed701a98791160

URL: https://github.com/llvm/llvm-project/commit/41354942c5c3cd4b9ae59179feed701a98791160
DIFF: https://github.com/llvm/llvm-project/commit/41354942c5c3cd4b9ae59179feed701a98791160.diff

LOG: [gn build] Add cfi ignorelist to compiler-rt/lib

So that building the compiler-rt target also copies the cfi ignorelist

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D107411

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
index 43bc7fdf351c9..09ff20d2fe1a5 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
@@ -1,5 +1,8 @@
 group("lib") {
-  deps = [ "//compiler-rt/lib/profile" ]
+  deps = [
+    "//compiler-rt/lib/cfi:ignorelist($host_toolchain)",
+    "//compiler-rt/lib/profile",
+  ]
   if (current_os == "linux") {
     deps += [ "//compiler-rt/lib/msan" ]
   }


        


More information about the llvm-commits mailing list