File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed
llvm/utils/gn/secondary/compiler-rt/lib/hwasan Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,19 @@ foreach(arch ${HWASAN_SUPPORTED_ARCH})
2424 if (${arch} MATCHES "aarch64" )
2525 list (APPEND HWASAN_RTL_SOURCES
2626 hwasan_setjmp_aarch64.S
27- hwasan_tag_mismatch_aarch64.S)
27+ hwasan_tag_mismatch_aarch64.S
28+ )
2829 endif ()
2930 if (${arch} MATCHES "riscv64" )
3031 list (APPEND HWASAN_RTL_SOURCES
3132 hwasan_setjmp_riscv64.S
32- hwasan_tag_mismatch_riscv64.S)
33+ hwasan_tag_mismatch_riscv64.S
34+ )
3335 endif ()
3436 if (${arch} MATCHES "x86_64" )
3537 list (APPEND HWASAN_RTL_SOURCES
36- hwasan_setjmp_x86_64.S)
38+ hwasan_setjmp_x86_64.S
39+ )
3740 endif ()
3841endforeach ()
3942
Original file line number Diff line number Diff line change @@ -64,10 +64,16 @@ source_set("sources") {
6464 " hwasan_type_test.cpp" ,
6565 ]
6666 if (current_cpu == " arm64" ) {
67- sources += [ " hwasan_setjmp_aarch64.S" ]
67+ sources += [
68+ " hwasan_setjmp_aarch64.S" ,
69+ " hwasan_tag_mismatch_aarch64.S" ,
70+ ]
6871 }
6972 if (current_cpu == " riscv64" ) {
70- sources += [ " hwasan_setjmp_riscv64.S" ]
73+ sources += [
74+ " hwasan_setjmp_riscv64.S" ,
75+ " hwasan_tag_mismatch_riscv64.S" ,
76+ ]
7177 }
7278 if (current_cpu == " x64" ) {
7379 sources += [ " hwasan_setjmp_x86_64.S" ]
You can’t perform that action at this time.
0 commit comments