File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
llvm/utils/gn/secondary/compiler-rt/lib/hwasan Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,27 @@ source_set("sources") {
5757 " hwasan_poisoning.h" ,
5858 " hwasan_report.cpp" ,
5959 " hwasan_report.h" ,
60- " hwasan_setjmp_aarch64.S" ,
61- " hwasan_setjmp_riscv64.S" ,
6260 " hwasan_thread.cpp" ,
6361 " hwasan_thread.h" ,
6462 " hwasan_thread_list.cpp" ,
6563 " hwasan_thread_list.h" ,
6664 " hwasan_type_test.cpp" ,
6765 ]
66+ if (current_cpu == " arm64" ) {
67+ sources += [
68+ " hwasan_setjmp_aarch64.S" ,
69+ " hwasan_tag_mismatch_aarch64.S" ,
70+ ]
71+ }
72+ if (current_cpu == " riscv64" ) {
73+ sources += [
74+ " hwasan_setjmp_riscv64.S" ,
75+ " hwasan_tag_mismatch_riscv64.S" ,
76+ ]
77+ }
78+ if (current_cpu == " x64" ) {
79+ sources += [ " hwasan_setjmp_x86_64.S" ]
80+ }
6881}
6982
7083source_set (" cxx_sources" ) {
You can’t perform that action at this time.
0 commit comments