On Wed, Jun 22, 2011 at 10:42 AM, Jason Merrill wrote:
> Well, the basic issue is that the "linkage name" is produced by
> libiberty/cp-demangle.c and the DW_AT_name is produced by gcc/cp/error.c,
> and they don't always agree on the same pretty-printed representation of a
> C++ expression.
>
> Fo
Well, the basic issue is that the "linkage name" is produced by
libiberty/cp-demangle.c and the DW_AT_name is produced by
gcc/cp/error.c, and they don't always agree on the same pretty-printed
representation of a C++ expression.
For this case,
The function linkage name has prefix: K<&(S::m(i
Hi,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49408
struct S {
void m (int x) {}
};
template
struct K {
void f () { S s; (s.*F) (5); }
};
int main () {
K<&S::m> k;
k.f ();
}
<1><64>: Abbrev Number: 8 (DW_TAG_structure_type)
<65> DW_AT_name: K<&S::m>