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") {
57
57
" hwasan_poisoning.h" ,
58
58
" hwasan_report.cpp" ,
59
59
" hwasan_report.h" ,
60
- " hwasan_setjmp_aarch64.S" ,
61
- " hwasan_setjmp_riscv64.S" ,
62
60
" hwasan_thread.cpp" ,
63
61
" hwasan_thread.h" ,
64
62
" hwasan_thread_list.cpp" ,
65
63
" hwasan_thread_list.h" ,
66
64
" hwasan_type_test.cpp" ,
67
65
]
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
+ }
68
81
}
69
82
70
83
source_set (" cxx_sources" ) {
You can’t perform that action at this time.
0 commit comments