[compiler-rt] [llvm] Reapply "compiler-rt: Introduce runtime functions for emulated PAC." (PR #148094)
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 11 13:56:49 PDT 2025
================
@@ -26,6 +26,7 @@ builtin_check_c_compiler_flag("-Xclang -mcode-object-version=none" COMPILER_RT_H
builtin_check_c_compiler_flag(-Wbuiltin-declaration-mismatch COMPILER_RT_HAS_WBUILTIN_DECLARATION_MISMATCH_FLAG)
builtin_check_c_compiler_flag(/Zl COMPILER_RT_HAS_ZL_FLAG)
builtin_check_c_compiler_flag(-fcf-protection=full COMPILER_RT_HAS_FCF_PROTECTION_FLAG)
+builtin_check_c_compiler_flag(-nostdinc++ COMPILER_RT_HAS_NOSTDINCXX_FLAG)
----------------
pcc wrote:
Yes, both `gcc` and `clang` (i.e. as opposed to `g++` and `clang++`) accept this flag.
https://github.com/llvm/llvm-project/pull/148094
More information about the llvm-commits
mailing list