<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 17, 2014, at 3:07 PM, Diego Novillo <<a href="mailto:dnovillo@google.com">dnovillo@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 5:49 PM, Adrian Prantl <span dir="ltr"><<a href="mailto:aprantl@apple.com" target="_blank" class="cremed">aprantl@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
On Apr 17, 2014, at 1:12 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com" class="cremed">dblaikie@gmail.com</a>> wrote:<br>
<br>
> Adrian - this disabled discriminators for DWARF < 4, but doesn't<br>
> disable them for OSX specifically. If OSX is using the default of<br>
> "current DWARF", it'll need a special case here, right? ("DWARF < 4 ||<br>
> darwin”)<br>
<br>
><br>
> This change as-is will work for Chromium that uses -gdwarf-2 but might<br>
> not fix the wider darwin issue.<br>
<br>
</div>No I think this is fine. DWARF v2 is the default on Darwin and I won’t change that until all tools support it. But I’d rather have a way to enable the feature for those who want to live on the bleeding edge than disabling it completely.<br>
</blockquote><div><br></div><div>So, you want to be able to say:</div><div><br></div><div>$ clang -gdwarf-2 -mllvm -force-discriminators</div><div><br></div><div>?</div><div><br></div><div></div></div><br></div><div class="gmail_extra">
I suppose it's doable, but it seems too sharp an edge to provide this. We'd be explicitly emitting something not supported in dwarf2. Or maybe I'm missing your point.</div></div>
</blockquote></div><br><div>No no, I just meant that I should be able to say </div><div>$ clang -gdwarf-4 and get full DWARF4 output at my own risk, rather than disabling the feature on Darwin completely.</div><div><br></div><div>-- adrian</div></body></html>