<div dir="ltr">+1 - I'm not sure there is a way. But worth checking/considering it.<br><br>I think the issue, at least pre DWARF5 maybe (hopefully it's been fixed? I know a few efforts have been made to make things more independently parsed), is that you can't parse the line table without the CU, and you don't know which CU this line table is for - so you have to walk all the CUs... - but worth checking.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 25, 2017 at 9:16 AM Adrian Prantl via Phabricator <<a href="mailto:reviews@reviews.llvm.org">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 accepted this revision.<br>
aprantl added a comment.<br>
<br>
Without having checked out API yet — this is still traversing over all CUs to find the one with the entry. This could be slow for something like clang.dSYM. Is there a way to find the one CU containing the entry quicker? If not, this LGTM.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D38240" rel="noreferrer" target="_blank">https://reviews.llvm.org/D38240</a><br>
<br>
<br>
<br>
</blockquote></div>