Yep. Fine by me - thanks for checking!<br><br><div class="gmail_quote"><div dir="ltr">On Wed., 11 Apr. 2018, 10:55 am Vedant Kumar, <<a href="mailto:vsk@apple.com">vsk@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hm, debug_ranges grows by 0.4%, but this didn't increase anything else. The total size of the dsym's DWARF segment increases by 0.08%. That seems like an acceptable overhead.<div><br></div><div></div></div><div style="word-wrap:break-word"><div>vedant</div></div><div style="word-wrap:break-word"><div><br><div><br><div><blockquote type="cite"><div>On Apr 10, 2018, at 7:13 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:</div><br class="m_-1097138034545323383Apple-interchange-newline"><div><div dir="ltr">0.6% increase to debug_line (assuming you checked & this didn't increase anything else? Can't see how it could, but just checking - /maybe/ some inlining/debug_ranges stuff?) seems acceptable to me.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 10, 2018 at 6:37 PM Adrian Prantl via Phabricator <<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">aprantl added a comment.<br>
<br>
I'm fine with this change since the result is more accurate than before (where the instruction would inherit whatever the previous instruction's location was.<br>
<br>
David: how do you feel about the size increase, since you brought that up?<br>
<br>
<br>
<br>
================<br>
Comment at: include/llvm/IR/DebugInfoMetadata.h:1512<br>
+  /// is true, we will set the merged debug location as line 0 of the nearest<br>
+  /// common scope where 2 locations are inlined from.<br>
+  //<br>
----------------<br>
`... common scope the the two locations.`<br>
<br>
<br>
<a href="https://reviews.llvm.org/D45396" rel="noreferrer" target="_blank">https://reviews.llvm.org/D45396</a><br>
<br>
<br>
<br>
</blockquote></div>
</div></blockquote></div><br></div></div></div></blockquote></div>