forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate LLVM at llvm/llvm-project@668e33c6401a
Updates LLVM usage to match [668e33c6401a](llvm/llvm-project@668e33c6401a) PiperOrigin-RevId: 553004223
- Loading branch information
1 parent
5f3ce75
commit f0fade7
Showing
2 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,74 @@ | ||
Auto generated patch. Do not edit or delete it, even if empty. | ||
diff -ruN --strip-trailing-cr a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | ||
--- a/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | ||
+++ b/utils/bazel/llvm-project-overlay/llvm/BUILD.bazel | ||
@@ -3522,12 +3522,21 @@ | ||
td_srcs = ["include/llvm/Option/OptParser.td"], | ||
) | ||
|
||
+expand_template( | ||
+ name = "dwp_main", | ||
+ out = "llvm-dwp-driver.cpp", | ||
+ substitutions = { | ||
+ "@TOOL_NAME@": "llvm_dwp", | ||
+ }, | ||
+ template = "cmake/modules/llvm-driver-template.cpp.in", | ||
+) | ||
+ | ||
cc_binary( | ||
name = "llvm-dwp", | ||
srcs = glob([ | ||
"tools/llvm-dwp/*.cpp", | ||
"tools/llvm-dwp/*.h", | ||
- ]), | ||
+ ]) + ["llvm-dwp-driver.cpp"], | ||
copts = llvm_copts, | ||
stamp = 0, | ||
deps = [ | ||
@@ -3725,12 +3734,21 @@ | ||
td_srcs = ["include/llvm/Option/OptParser.td"], | ||
) | ||
|
||
+expand_template( | ||
+ name = "libtool-darwin_main", | ||
+ out = "llvm-libtool-darwin-driver.cpp", | ||
+ substitutions = { | ||
+ "@TOOL_NAME@": "llvm_libtool_darwin", | ||
+ }, | ||
+ template = "cmake/modules/llvm-driver-template.cpp.in", | ||
+) | ||
+ | ||
cc_binary( | ||
name = "llvm-libtool-darwin", | ||
srcs = glob([ | ||
"tools/llvm-libtool-darwin/*.cpp", | ||
"tools/llvm-libtool-darwin/*.h", | ||
- ]), | ||
+ ]) + ["llvm-libtool-darwin-driver.cpp"], | ||
copts = llvm_copts, | ||
stamp = 0, | ||
deps = [ | ||
@@ -4686,12 +4704,22 @@ | ||
td_srcs = ["include/llvm/Option/OptParser.td"], | ||
) | ||
|
||
+expand_template( | ||
+ name = "sancov_main", | ||
+ out = "sancov-driver.cpp", | ||
+ substitutions = { | ||
+ "@TOOL_NAME@": "sancov", | ||
+ }, | ||
+ template = "cmake/modules/llvm-driver-template.cpp.in", | ||
+) | ||
+ | ||
+ | ||
cc_binary( | ||
name = "sancov", | ||
srcs = glob([ | ||
"tools/sancov/*.cpp", | ||
"tools/sancov/*.h", | ||
- ]), | ||
+ ]) + ["sancov-driver.cpp"], | ||
copts = llvm_copts, | ||
stamp = 0, | ||
deps = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters