[libc-commits] [compiler-rt] [libc] [llvm] [Compiler-rt][builtins] introduce libc math routines (PR #197950)

via libc-commits libc-commits at lists.llvm.org
Fri May 22 08:40:35 PDT 2026


================
@@ -20,14 +20,22 @@
 
 // ABI macro definitions
 
+// In C++ translation units we must give compiler-rt entry points C linkage so
+// that their symbol names are not mangled.  C TUs are unaffected.
+#ifdef __cplusplus
----------------
hulxv wrote:

I added it before as a shortcut for the unified file of legacy and libc. I think it's not that important now

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


More information about the libc-commits mailing list