This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pretty print decl assembler names


Richard Guenther wrote:
On Thu, Jun 18, 2009 at 3:29 PM, H.J. Lu<hjl.tools@gmail.com> wrote:
On Wed, Jun 17, 2009 at 5:34 PM, Richard Henderson<rth@redhat.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.


r~




       * 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:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40488

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



r~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]