[llvm] 25eabbc - gn build: Re-add preinit file to static ubsan library.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 13:36:34 PDT 2022
Author: Peter Collingbourne
Date: 2022-09-30T13:36:12-07:00
New Revision: 25eabbc8022f872b5a8e94595820fbe80ffad8c4
URL: https://github.com/llvm/llvm-project/commit/25eabbc8022f872b5a8e94595820fbe80ffad8c4
DIFF: https://github.com/llvm/llvm-project/commit/25eabbc8022f872b5a8e94595820fbe80ffad8c4.diff
LOG: gn build: Re-add preinit file to static ubsan library.
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
index ab05b32dbcb9..f4df99812c21 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn
@@ -108,9 +108,11 @@ static_library("ubsan_static") {
complete_static_lib = true
configs -= [
"//llvm/utils/gn/build:llvm_code",
+ "//llvm/utils/gn/build:no_rtti",
"//llvm/utils/gn/build:thin_archive",
]
configs += [ "//llvm/utils/gn/build:crt_code" ]
+ sources = [ "ubsan_init_standalone_preinit.cpp" ]
deps = [
":sources",
":standalone_sources",
More information about the llvm-commits
mailing list