From 242304f3e2d09c165d78354ac60baab6ff077bc9 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Fri, 12 Feb 2021 12:43:27 -0800 Subject: [PATCH] [gn build] Add missing llvm-profgen dependency Or else a clean build fails with missing Attributes.inc. --- .../gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn index 5d1e724f836f..835bc7c848ab 100644 --- a/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/unittests/tools/llvm-profgen/BUILD.gn @@ -1,6 +1,9 @@ import("//llvm/utils/unittest/unittest.gni") unittest("LLVMProfgenTests") { - deps = [ "//llvm/lib/Testing/Support" ] + deps = [ + "//llvm/include/llvm/IR:public_tablegen", + "//llvm/lib/Testing/Support", + ] sources = [ "ContextCompressionTest.cpp" ] }