[Lldb-commits] [PATCH] D18848: Add PDBASTParser and parse type information from PDB

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 15 10:40:42 PDT 2016

I wrote a library in llvm which is independent of the Windows system dll
and is abstracted such that we can plug in a non Windows specific version
of a pdb parser once we understand the format well enough.

For now, if you're not on Windows this library will just return an error if
you try to create one, which results in SymbolFilePDB returning 0

In the future though, all we have to do is add a non Windows implementation
of the parser in llvm and everything will just magically work on any

There's an active effort into understanding the format because clang needs
to know how to generate pdb when cross compiling for Windows on linux, so
there should be something concrete here in the future
On Fri, Apr 15, 2016 at 10:33 AM Greg Clayton <clayborg at gmail.com> wrote:

> clayborg added a comment.
> Shouldn't the SymbolFilePDB be only enabled in windows since it is useless
> on any other system since you are using the Windows system DLL to parse the
> info?
> http://reviews.llvm.org/D18848
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160415/4a4a9271/attachment.html>

More information about the lldb-commits mailing list