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: Line number handling in RTL reorganization


Jan Hubicka <hubicka@ucw.cz> writes:

> Hi, this patch implements the idea of replacing line numbers notes
> via locators placed directly in the insn RTLs.  The mapping from
> insns to the scopes, line numbers and files is done using separate
> datastructures to save memory (so we need only one integer per
> instruction and two integers per new block/line/file).
> 
> The patch adds all the bookkeeping and makes debug info to use it.
> It does not remove the old code to produce notes and keep them
> up-to-date.  I didn't wanted to make it overly big as it is crazy
> enought already and I don't feel 100% sure about the concept - the
> debug info produced is noticeably different from what GCC did
> previously and I guess we need to get some experience on how it
> works.

Did you run the GDB testsuite?

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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