[llvm] 0054293 - [gn build] manually port 60e5243e593e (weak asan symbol)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 16:49:53 PDT 2021
Author: Nico Weber
Date: 2021-06-04T19:49:41-04:00
New Revision: 00542932fe13ea3b989f40b434399c72f5eca4ec
URL: https://github.com/llvm/llvm-project/commit/00542932fe13ea3b989f40b434399c72f5eca4ec
DIFF: https://github.com/llvm/llvm-project/commit/00542932fe13ea3b989f40b434399c72f5eca4ec.diff
LOG: [gn build] manually port 60e5243e593e (weak asan symbol)
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
index c1f134fadcd3a..4b7d6fd2c519c 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
@@ -135,6 +135,7 @@ target(asan_target_type, "asan") {
# asan
"-Wl,-U,___asan_default_options",
"-Wl,-U,___asan_default_suppressions",
+ "-Wl,-U,___asan_detect_use_after_return_always",
"-Wl,-U,___asan_on_error",
"-Wl,-U,___asan_set_shadow_00",
"-Wl,-U,___asan_set_shadow_f1",
More information about the llvm-commits
mailing list