From 41354942c5c3cd4b9ae59179feed701a98791160 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 3 Aug 2021 16:38:25 -0700 Subject: [PATCH] [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 --- llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn index 43bc7fd..09ff20d 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" ] } -- 2.7.4