April 23, 2015
On Thursday, 23 April 2015 at 18:07:48 UTC, Iain Buclaw wrote:
> A 'nice to know' which is specific to GDC.  If you prefix
> pragma(mangle) names with "*" then it will not apply target-dependent
> prefixes.

For LLVM, this works by prefixing the name with \1.

We need to do this internally for naked inline asm support on Windows to match DMD's mangling (stdcall-based cc, but no @<n> suffix).

This might not work from pragma(mangle) right now, though.

 — David
1 2 3
Next ›   Last »