Re: [PATCH 3/4] libcpp/input.c: Add a way to visualize the linemaps

2015-05-13 Thread David Malcolm
On Mon, 2015-05-04 at 13:19 -0600, Jeff Law wrote: > On 05/01/2015 06:56 PM, David Malcolm wrote: > > As a relative newcomer to GCC, one of the issues I had was > > becoming comfortable with the linemap API and its internal > > representation. > > > > To familiarize myself with it, I wrote a dumpin

Re: [PATCH 3/4] libcpp/input.c: Add a way to visualize the linemaps

2015-05-04 Thread Jeff Law
On 05/01/2015 06:56 PM, David Malcolm wrote: As a relative newcomer to GCC, one of the issues I had was becoming comfortable with the linemap API and its internal representation. To familiarize myself with it, I wrote a dumping routine to try to visualize how the source_location space is carved