[PATCH] D55824: [gn build] Add build file for llvm-bcanalyzer

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 18 06:55:40 PST 2018


thakis created this revision.
thakis added reviewers: phosek, hans.
Herald added subscribers: dkrupp, donat.nagy, Szelethus, a.sidorin, baloghadamsoftware.
Herald added a reviewer: george.karpenkov.

Needed for check-lld.

I missed this in previous patches.


https://reviews.llvm.org/D55824

Files:
  llvm/utils/gn/secondary/BUILD.gn
  llvm/utils/gn/secondary/llvm/tools/llvm-bcanalyzer/BUILD.gn


Index: llvm/utils/gn/secondary/llvm/tools/llvm-bcanalyzer/BUILD.gn
===================================================================
--- /dev/null
+++ llvm/utils/gn/secondary/llvm/tools/llvm-bcanalyzer/BUILD.gn
@@ -0,0 +1,9 @@
+executable("llvm-bcanalyzer") {
+  deps = [
+    "//llvm/lib/Bitcode/Reader",
+    "//llvm/lib/Support",
+  ]
+  sources = [
+    "llvm-bcanalyzer.cpp",
+  ]
+}
Index: llvm/utils/gn/secondary/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/BUILD.gn
+++ llvm/utils/gn/secondary/BUILD.gn
@@ -4,6 +4,7 @@
     "//llvm/tools/llc",
     "//llvm/tools/llvm-ar:symlinks",
     "//llvm/tools/llvm-as",
+    "//llvm/tools/llvm-bcanalyzer",
     "//llvm/tools/llvm-dis",
     "//llvm/tools/llvm-dwarfdump",
     "//llvm/tools/llvm-mc",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55824.178662.patch
Type: text/x-patch
Size: 813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181218/bd00726b/attachment.bin>


More information about the llvm-commits mailing list