Thread overview
Win x86 name mangling
May 25, 2016
Johan Engelen
May 25, 2016
Johan Engelen
May 25, 2016
kink
May 25, 2016
Johan Engelen
May 25, 2016
Can anybody tell me why on Win32 (but not Win64!) we emit function symbols with leading "\01" and with an extra leading "_" ?

Thanks!
  Johan

May 25, 2016
On Wednesday, 25 May 2016 at 13:12:07 UTC, Johan Engelen wrote:
> extra leading "_" ?

Can I remove the extra "_" ?

May 25, 2016
On Wednesday, 25 May 2016 at 13:12:07 UTC, Johan Engelen wrote:
> Can anybody tell me why on Win32 (but not Win64!) we emit function symbols with leading "\01" and with an extra leading "_" ?

Rainer should know. IIRC, there's a comment saying that this prevents LLVM from tampering with the name (based on calling convention).
May 25, 2016
See https://github.com/ldc-developers/ldc/pull/1521.