[llvm] 1784aca - gn build: Sync hwasan assembly file source list.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 18:37:12 PDT 2024
Author: Peter Collingbourne
Date: 2024-10-18T18:36:01-07:00
New Revision: 1784aca904718421452445a4d835af3cd3c3c89b
URL: https://github.com/llvm/llvm-project/commit/1784aca904718421452445a4d835af3cd3c3c89b
DIFF: https://github.com/llvm/llvm-project/commit/1784aca904718421452445a4d835af3cd3c3c89b.diff
LOG: gn build: Sync hwasan assembly file source list.
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
index a30c291e156723..e39d8114d1f473 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
@@ -57,14 +57,27 @@ source_set("sources") {
"hwasan_poisoning.h",
"hwasan_report.cpp",
"hwasan_report.h",
- "hwasan_setjmp_aarch64.S",
- "hwasan_setjmp_riscv64.S",
"hwasan_thread.cpp",
"hwasan_thread.h",
"hwasan_thread_list.cpp",
"hwasan_thread_list.h",
"hwasan_type_test.cpp",
]
+ if (current_cpu == "arm64") {
+ sources += [
+ "hwasan_setjmp_aarch64.S",
+ "hwasan_tag_mismatch_aarch64.S",
+ ]
+ }
+ if (current_cpu == "riscv64") {
+ sources += [
+ "hwasan_setjmp_riscv64.S",
+ "hwasan_tag_mismatch_riscv64.S",
+ ]
+ }
+ if (current_cpu == "x64") {
+ sources += [ "hwasan_setjmp_x86_64.S" ]
+ }
}
source_set("cxx_sources") {
More information about the llvm-commits
mailing list