[cfe-dev] [llvm-dev] RFC: CodeView debug info emission in Clang/LLVM

Zachary Turner via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 4 10:04:23 PST 2015


Yes the PDB implementation will absolutely be shared.

I'm not responsible for the DWARF reading code in LLDB, but my
understanding is that it is the way it is because they want to load a lot
of debug info lazily and so their reader is optimized for that use case.  I
don't know, I personally think if one had the will and the knowledge, that
they could drive a change to LLDB to use LLVM's DWARF reading code, making
changes to LLVM's implementation along the way to make sure that the
performance characteristics remain the same.  I would love it if someone
did that.

On Wed, Nov 4, 2015 at 9:55 AM Adrian Prantl <aprantl at apple.com> wrote:

>
> > On Nov 3, 2015, at 7:51 AM, Reid Kleckner via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >
> > On Thu, Oct 29, 2015 at 12:42 PM, Daniel Dilts via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
> > > 2. Will LLD and LLDB be updated as necessary to support CodeView?
> >
> > Rui is is looking at making LLD link codeview from object files into
> PDBs.
> >
> > Zachary Turner intends to add PDB reading support to LLDB. We already
> have a PDB implementation of DIContext in lib/DebugInfo that uses PDBs. The
> only client is currently llvm-symbolizer, but the idea was that LLDB could
> use it, and eventually we should shift it off DIA and over to something
> cross-platform.
>
> For reading DWARF we currently have two sort of redundant implementations
> in the overall LLVM project — one in lib/DebugInfo and another one in LLDB.
> Do you see an opportunity for sharing the PDB implementation between LLVM
> and LLDB?
>
> -- adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151104/eb9db436/attachment.html>


More information about the cfe-dev mailing list