[llvm] a08b9fb - [gn] port a8016e296e6ec1 (sancov Opts)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 06:48:54 PDT 2023
Author: Nico Weber
Date: 2023-07-26T09:48:45-04:00
New Revision: a08b9fb9675e99dd44eef04fa48bd51bb340c491
URL: https://github.com/llvm/llvm-project/commit/a08b9fb9675e99dd44eef04fa48bd51bb340c491
DIFF: https://github.com/llvm/llvm-project/commit/a08b9fb9675e99dd44eef04fa48bd51bb340c491.diff
LOG: [gn] port a8016e296e6ec1 (sancov Opts)
Added:
Modified:
llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
index 920a3508843982..fedc86baa3f62e 100644
--- a/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
@@ -1,11 +1,20 @@
+import("//llvm/utils/TableGen/tablegen.gni")
+
+tablegen("Opts") {
+ visibility = [ ":sancov" ]
+ args = [ "-gen-opt-parser-defs" ]
+}
+
executable("sancov") {
deps = [
+ ":Opts",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/DebugInfo/PDB",
"//llvm/lib/DebugInfo/Symbolize",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Object",
+ "//llvm/lib/Option",
"//llvm/lib/Support",
"//llvm/lib/Target:AllTargetsDescs",
"//llvm/lib/Target:AllTargetsDisassemblers",
More information about the llvm-commits
mailing list