[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


================
@@ -836,7 +839,7 @@ else ()
     append_list_if(COMPILER_RT_ENABLE_CET -fcf-protection=full BUILTIN_CFLAGS)
   endif()
 
-  append_list_if(COMPILER_RT_HAS_STD_C11_FLAG -std=c11 BUILTIN_CFLAGS)
+  append_list_if(COMPILER_RT_HAS_NOSTDINCXX_FLAG -nostdinc++ BUILTIN_CFLAGS)
----------------
pcc wrote:

As noted in the other comment, it doesn't seem to be a problem to pass this to the C compiler as well.

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


More information about the llvm-commits mailing list