[llvm-dev] Gauging interest in generating PDBs from LLVM-backed languages

Zachary Turner via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 26 19:56:18 PDT 2016


Even if you don't have DIA SDK, llvm-pdbdump will still work with the "raw"
subcommand, just not the "pretty" subcommand.  That said, I would be
interested in finding out why it thinks you don't have DIA installed.  You
could do some diagnostics by littering the CMake with some print statements
to see if the directory it's looking for exists or what else the problem
might be.

On Tue, Jul 26, 2016 at 7:02 PM Michael Lewis <don.apoch at gmail.com> wrote:

> On Tue, Jul 26, 2016 at 12:30 PM, Zachary Turner <zturner at google.com>
>  wrote:
>
>> I wrote most of the pdb code in llvm so far. As Reid suggested, if you
>> look in DebugInfo/PDB/Raw there is a significant amount of code dealing
>> with msf files and raw pdb streams. If you build the llvm-pdbdump tool you
>> can run it with the "raw" subcommand to dump lots of low level info from
>> the file.
>>
>> It's pretty complete for reading pdb files, and I'm actively working on
>> expanding write support.
>
>
> I'll check into that again. I ran across llvm-pdbdump earlier but couldn't
> get it to build on a vanilla 3.8 install (CMake is convinced I don't have
> the DIA SDK and I haven't found a way to change its mind). I stopped short
> of reading the code though so I wasn't aware of how much is actually there!
>
> Anyways, I'll pore over what's in trunk and see if there's anything I can
> contribute. Thanks for the pointer.
>
>
>
>  - Mike
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160727/e280d632/attachment.html>


More information about the llvm-dev mailing list