We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 145a929 commit fe36150Copy full SHA for fe36150
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
@@ -4704,12 +4704,22 @@ gentbl(
4704
td_srcs = ["include/llvm/Option/OptParser.td"],
4705
)
4706
4707
+expand_template(
4708
+ name = "sancov_main",
4709
+ out = "sancov-driver.cpp",
4710
+ substitutions = {
4711
+ "@TOOL_NAME@": "sancov",
4712
+ },
4713
+ template = "cmake/modules/llvm-driver-template.cpp.in",
4714
+)
4715
+
4716
4717
cc_binary(
4718
name = "sancov",
4719
srcs = glob([
4720
"tools/sancov/*.cpp",
4721
"tools/sancov/*.h",
- ]),
4722
+ ]) + ["sancov-driver.cpp"],
4723
copts = llvm_copts,
4724
stamp = 0,
4725
deps = [
0 commit comments