[compiler-rt] [llvm] Reapply "compiler-rt: Introduce runtime functions for emulated PAC." (PR #148094)

Anatoly Trosinenko via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 06:21:02 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)
----------------
atrosinenko wrote:

By the way, I wonder if `builtin_check_c_compiler_flag` handles C++ flags correctly. It may depend on the compiler, I guess.

https://github.com/llvm/llvm-project/pull/148094


More information about the llvm-commits mailing list