1 source_set("sources") {
2 configs -= [ "//llvm/utils/gn/build:llvm_code" ]
3 configs += [ "//llvm/utils/gn/build:crt_code" ]
4 defines = [ "UBSAN_CAN_USE_CXXABI" ]
6 "//compiler-rt/lib/interception:sources",
7 "//compiler-rt/lib/sanitizer_common:sources",
21 "ubsan_signals_standalone.h",
28 # Unreferenced; at the moment exists to make sync_source_lists_from_cmake happy.
29 source_set("standalone_sources") {
30 configs -= [ "//llvm/utils/gn/build:llvm_code" ]
31 configs -= [ "//llvm/utils/gn/build:no_rtti" ]
32 configs += [ "//llvm/utils/gn/build:crt_code" ]
33 defines = [ "UBSAN_CAN_USE_CXXABI" ]
35 "ubsan_diag_standalone.cpp",
36 "ubsan_init_standalone.cpp",
37 "ubsan_signals_standalone.cpp",
41 source_set("cxx_sources") {
42 configs -= [ "//llvm/utils/gn/build:llvm_code" ]
43 configs -= [ "//llvm/utils/gn/build:no_rtti" ]
44 configs += [ "//llvm/utils/gn/build:crt_code" ]
45 defines = [ "UBSAN_CAN_USE_CXXABI" ]
47 "ubsan_handlers_cxx.cpp",
48 "ubsan_handlers_cxx.h",
49 "ubsan_type_hash.cpp",
50 "ubsan_type_hash_itanium.cpp",
51 "ubsan_type_hash_win.cpp",