This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Add block debug info to phi_arg_d
On Fri, Jul 13, 2012 at 3:36 AM, Dehao Chen <dehao@google.com> wrote:
> I'd suggest:
> 1. Remove this unittest for now.
And revert the patch for now.
> 2. Integrate locus with block, and store them as an index. (This will
> incur big operation to GCC)
I'm not sure what you mean with "integrate"...?
A lot of the code you'll need already exists in emit-rtl.c. That code
should be split out to a new file and be shared between rtl and
gimple. You'll probably want to make block_locators_locs,
block_locators_blocks, and locations_locators_locs part of struct
function. The biggest challenges will be avoiding bloat and managing
the locators for inlining/cloning...
Ciao!
Steven