Win x86 name mangling

kink via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Wed May 25 07:42:54 PDT 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).


More information about the digitalmars-d-ldc mailing list