[llvm-dev] Require support to use LLVM's PDB classes and pdbutil

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Wed May 15 16:35:06 PDT 2019

I would say that llvm-pdbutil mainly exists to dump PDBs as human readable
text, and to translate them to and from YAML. As far as interpreting the
contents of the PDB to do something useful, like produce a stack trace,
goes, the consumer of LLVM's PDB reading libraries is responsible for doing
that. For example, LLDB at some point will likely implement stack unwinding
with unwind data from PDBs.

I don't think we have any existing documentation or references for coding
against the LLVM native PDB reading APIs, but you can look at the code in
LLDB to get an idea for how it can be done.

*From: *Experian Elitiawan via llvm-dev <llvm-dev at lists.llvm.org>
*Date: *Tue, May 14, 2019 at 6:55 PM
*To: * <llvm-dev at lists.llvm.org>

> I'm trying to parse debug information out of PDB files that's created by
> visual studio, and also maybe producing stacktrace on linux.
> Does anyone has leads to how I can do that with LLVM's pdbutil? Or point
> me to a documentation about that?
> Thanks.
> Experian
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190515/69165df8/attachment.html>

More information about the llvm-dev mailing list