This is the mail archive of the
mailing list for the GCC project.
Re: Pretty print decl assembler names
On Thu, Jun 18, 2009 at 3:29 PM, H.J. Lu<firstname.lastname@example.org> wrote:
> On Wed, Jun 17, 2009 at 5:34 PM, Richard Henderson<email@example.com> wrote:
>> 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.
> I think it caused:
Yep. One reason I repeatedly chickened out applying similar patches ;)