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

Johan Wehrli via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 27 00:06:22 PDT 2016


Hi Mike,

> 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 have experienced something similar with the DIA SDK.

Most of the time, it is a path problem: https://support.microsoft.com/en-us/kb/3035999 <https://support.microsoft.com/en-us/kb/3035999>

If you open the file cmake/config-ix.cmake you will find the place where cmake check if the DIA_SDK is present (there is also a note saying that sometime this is a Windows bug).

You can modify the line "set(MSVC_DIA_SDK_DIR "$ENV{VSINSTALLDIR}DIA SDK”)” by "set(MSVC_DIA_SDK_DIR “C:\\path\\to\\DIA SDK”)”.

In my case, it was working.

Hope this help.

Greetings,

Johan

> On 27 Jul 2016, at 04:02, Michael Lewis via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> On Tue, Jul 26, 2016 at 12:30 PM, Zachary Turner <zturner at google.com <mailto: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
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://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/20160727/c175874b/attachment.html>


More information about the llvm-dev mailing list