On Apr 3, 2014 2:14 PM, "Diego Novillo" <[email protected]> wrote:
> > But we *do* enable line table information when -Rpass= is given. We > also enable column information, so all we alter is that we'll be > emitting dwarf LOCs in final codegen. > > If you don't think dwarf LOC generation is fine, we could do one of two things: > > 1- We already have srcloc metadata. It would be a matter of generating > them on every IR node when -Rpass= is used. Though, note that this would be a waste since we would have to replicate the exact same mechanism that -gline-tables-only and -gcolumn-info implement. For debug build, we'd effectively double the memory used to store this info. I have a slight preference for option 2. > 2- If -Rpass= is used but we found it necessary to force line and > column table generation, we could note that so that the code generator > out of the back end does not emit DWARF LOCs. Eric, if this doesn't > sound silly to you, how hard would it be?
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
