|
From: Paul P. <ppl...@go...> - 2009-10-02 03:19:31
|
On Thu, Oct 1, 2009 at 8:36 AM, Alexander Potapenko <gl...@go...> wrote: > This suppression really works on Mac OS, but _ZN3Foo3barEv can't be > demangled with c++filt on this platform It sure can: see "man c++filt", the "-n" option: $ c++filt _ZN3Foo3barEv _ZN3Foo3barEv $ c++filt -n _ZN3Foo3barEv Foo::bar() On Thu, Oct 1, 2009 at 1:58 PM, Nicholas Nethercote <n.n...@gm...> wrote: > For some reason all symbols end up getting an additional leading > underscore added to them on Mac. That's standard for COFF and most other pre-ELF object file formats; IIRC this was done to distinguish C symbols from Assembly ones in the very early days, when C was the newcomer. -- Paul Pluzhnikov |