C++/C mangleof inconsistency for OS X

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 22 10:32:12 PDT 2015


On 20 April 2015 at 18:33, Dan Olson via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> $ nm showmangle.o | grep fun
>                  U _D10showmangle4dfunFiZv
>                  U __Z6cxxfuni
>                  U _cfun
>
> --
> Dan

Because of this, debugging in OSX is not as good as it could be (if
you use DMD).  All debuggers I've seen remove the leading '_' from
symbols before they begin demangling symbols.


More information about the Digitalmars-d mailing list