[PATCH] D38240: [dwarfdump] Add support for -debug-line=OFFSET

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 09:37:33 PDT 2017


+1 - I'm not sure there is a way. But worth checking/considering it.

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.

On Mon, Sep 25, 2017 at 9:16 AM Adrian Prantl via Phabricator <
reviews at reviews.llvm.org> wrote:

> aprantl accepted this revision.
> aprantl added a comment.
>
> 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.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D38240
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170925/8bc5c1b1/attachment.html>


More information about the llvm-commits mailing list