This is the mail archive of the
mailing list for the GCC project.
Re: Pretty print decl assembler names
Richard Guenther wrote:
On Thu, Jun 18, 2009 at 3:29 PM, H.J. Lu<email@example.com> wrote:
On Wed, Jun 17, 2009 at 5:34 PM, Richard Henderson<firstname.lastname@example.org> wrote:
I think it caused:
I've found the following very helpful in debugging the trans-mem branch.
Prints the assembler name (when available) of a decl, if it differs too
much from the lexical name, i.e. the name got mangled.
Merged into mainline.
* tree-pretty-print.c (maybe_dump_asm_name): New.
(dump_decl_name): Use it.
(PRINT_FUNCTION_NAME): Merge into...
(dump_function_name): ... here. Use maybe_dump_asm_name.
Yep. One reason I repeatedly chickened out applying similar patches ;)
Bother. I'm moving the feature to a new "-asmname" qualifier for the
dump. And actualy running the testsuite this time -- who knew... =P