[compiler-rt] [asan] Optimize initialization order checking (PR #101837)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 5 20:59:45 PDT 2024
================
@@ -0,0 +1,14 @@
+// RUN: %clangxx_asan -O3 %p/initialization-nobug.cpp %p/Helpers/initialization-nobug-extra.cpp -fuse-ld=lld -o %t && %env_asan_opts=check_initialization_order=true:report_globals=3 %run %t 2>&1 | FileCheck %s --implicit-check-not "DynInit"
----------------
MaskRay wrote:
`%S` seems more popular than `%p`
Move this to Linux to ensure the PREINIT_ARRAY available code path.
https://github.com/llvm/llvm-project/pull/101837
More information about the llvm-commits
mailing list