Sunzir Deepur wrote:
I use -da to dump RTL files of the passes.
Is there a way to add the virtual addresses of each directive ?

You can't compute addresses reliably until after reload. Before reload, the size of each rtl insn is unknown.

My wish is to generate a CFG in which I would know, for each basic block
and RTL command, what is the virtual address this command will be at
in the binary..

You can already find much of this info in the gcov profiling files. See profile.c and gcov.c and other related files.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com

Reply via email to