Skip to content

Commit fe36150

Browse files
committed
cleanup: fix bazel build files for 668e33c, straggler missed in b906217
1 parent 145a929 commit fe36150

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4704,12 +4704,22 @@ gentbl(
47044704
td_srcs = ["include/llvm/Option/OptParser.td"],
47054705
)
47064706

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+
47074717
cc_binary(
47084718
name = "sancov",
47094719
srcs = glob([
47104720
"tools/sancov/*.cpp",
47114721
"tools/sancov/*.h",
4712-
]),
4722+
]) + ["sancov-driver.cpp"],
47134723
copts = llvm_copts,
47144724
stamp = 0,
47154725
deps = [

0 commit comments

Comments
 (0)