How to make D resolve C++ symbols by mangling symbols with the Itanium ABI on Windows

Carl Sturtivant sturtivant at gmail.com
Fri Mar 1 05:24:55 UTC 2024


On Friday, 1 March 2024 at 00:02:44 UTC, Carl Sturtivant wrote:
> On Thursday, 29 February 2024 at 19:54:24 UTC, Carl Sturtivant 
> wrote:
>> There is a library distributed with mingw64 `gcc` to [demangle 
>> MSVC-mangled 
>> names](https://mingw-w64.sourceforge.net/libmangle/index.html), though I did not use it. So in principle the substitutive def file could be made using just nm to dump the MSVC-mangled binaries, so no MS tools are needed to make it.
>
> I just found that DMD comes with ddemangle.exe for MSVC-mangled 
> names.

Cancel that: ddemangle only demangles according to how D mangles 
names, not MSVC.



More information about the Digitalmars-d mailing list