[llvm] 07a83b5 - [gn build] try to (manually) port 9ef451d1fdaa9a1 (hwasan_symbolize)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 06:33:39 PDT 2022
Author: Nico Weber
Date: 2022-05-06T09:33:33-04:00
New Revision: 07a83b5564ff88e5b8a0bc3af4021dd22767fc7d
URL: https://github.com/llvm/llvm-project/commit/07a83b5564ff88e5b8a0bc3af4021dd22767fc7d
DIFF: https://github.com/llvm/llvm-project/commit/07a83b5564ff88e5b8a0bc3af4021dd22767fc7d.diff
LOG: [gn build] try to (manually) port 9ef451d1fdaa9a1 (hwasan_symbolize)
needed by check-hwasan as of 4af9392e13a212
Added:
llvm/utils/gn/secondary/compiler-rt/lib/hwasan/scripts/BUILD.gn
Modified:
llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/scripts/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/scripts/BUILD.gn
new file mode 100644
index 0000000000000..0cc9f20b3b414
--- /dev/null
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/scripts/BUILD.gn
@@ -0,0 +1,4 @@
+copy("hwasan_symbolize") {
+ sources = [ "hwasan_symbolize" ]
+ outputs = [ "$root_out_dir/bin/{{source_file_part}}" ]
+}
diff --git a/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
index 0ec6469e65ac4..cb1969ede6526 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
@@ -66,7 +66,7 @@ if (llvm_build_AArch64 && android_ndk_path != "") {
}
group("hwasan") {
- deps = []
+ deps = [ "//compiler-rt/lib/hwasan/scripts:hwasan_symbolize" ]
foreach(toolchain, supported_toolchains) {
deps += [ ":hwasan_toolchain($toolchain)" ]
}
More information about the llvm-commits
mailing list