2009/3/17 Ian Lance Taylor :
> The local labels used for blocks are normally discarded by the assembler
> and thus are never seen by tools like oprofile. Using named symbols for
> basic blocks seems like a reasonable option if it will indeed give
> better information from oprofile, but it should
Eric Fisher writes:
> I'd like to get more helpful information from the final .S file, such
> as basic block info, so that I can draw a cfg graph through a script.
The basic block information and the CFG graph is not reliable at that
point in the compilation. Your patch will work reliably for s
Hello,
I'd like to get more helpful information from the final .S file, such
as basic block info, so that I can draw a cfg graph through a script.
Perhaps the -fverbose-asm option is the right way to open this
functionality. Here's a simple patch based on the current trunk svn.
Index: gcc/final.c