<p dir="ltr"><br>
On Apr 3, 2014 2:14 PM, "Diego Novillo" <<a href="mailto:dnovillo@google.com">dnovillo@google.com</a>> wrote:</p>
<p dir="ltr">><br>
> But we *do* enable line table information when -Rpass= is given. We<br>
> also enable column information, so all we alter is that we'll be<br>
> emitting dwarf LOCs in final codegen.<br>
><br>
> If you don't think dwarf LOC generation is fine, we could do one of two things:<br>
><br>
> 1- We already have srcloc metadata. It would be a matter of generating<br>
> them on every IR node when -Rpass= is used.</p>
<p dir="ltr">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.</p>

<p dir="ltr">I have a slight preference for option 2.</p>
<p dir="ltr">> 2- If -Rpass= is used but we found it necessary to force line and<br>
> column table generation, we could note that so that the code generator<br>
> out of the back end does not emit DWARF LOCs. Eric, if this doesn't<br>
> sound silly to you, how hard would it be?<br>
</p>