This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/16843] GDB relies on the mangled name of a subprogram to be a prefix of the enclosing class name
- From: "dblaikie at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 15 Apr 2014 20:43:23 +0000
- Subject: [Bug c++/16843] GDB relies on the mangled name of a subprogram to be a prefix of the enclosing class name
- Auto-submitted: auto-generated
- References: <bug-16843-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16843
--- Comment #2 from David Blaikie <dblaikie at gmail dot com> ---
(In reply to Gary Benson from comment #1)
> David, I don't have a copy of Clang to hand. Could you run nm on the object
> files you have generated with GCC and Clang and paste the mangled symbol
> names here please?
Hmm, I'm not sure if that's relevant (I'm wondering if perhaps I did a poor job
explaining the problem - or I just don't understand it at all), but the default
output of "nm" for the two object files no matter whether they're compiled with
GCC or Clang is:
src1.cpp:
0000000000000000 T _Z4funcv
0000000000000000 W _ZN3fooILc1EE3memEv
0000000000000000 b _ZZ4funcvE1f
src2.cpp:
U _Z4funcv
0000000000000000 T main
--
You are receiving this mail because:
You are on the CC list for the bug.