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

Michael Lewis via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 28 20:21:43 PDT 2016

On Wed, Jul 27, 2016 at 12:06 AM, Johan Wehrli <johan.wehrli at strong.codes>
> Most of the time, it is a path problem:
> 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”)”.
Awesome, that did the trick - thanks!

It turns out I was running CMake without the VS Environment vars set, so
%VSINSTALLDIR% was empty. Running with the environment set up correctly
fixed the problem.

On Tue, Jul 26, 2016 at 7:56 PM, Zachary Turner <zturner at google.com> wrote:

> Even if you don't have DIA SDK, llvm-pdbdump will still work with the
> "raw" subcommand, just not the "pretty" subcommand.

I was running a 3.8 install where this functionality had apparently not yet
landed. I pulled a fresh install from trunk earlier and I'm now playing
around with "raw". So far this looks immensely promising and probably well
beyond my own scope of familiarity with the PDB/MSF formats. I didn't
realize that this much progress had been made since 3.8; serves me right I
guess for not looking at trunk sooner!

I will certainly be willing to speak up if I find anything I know that
isn't represented here already.

 - Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160728/8e8593b7/attachment.html>

More information about the llvm-dev mailing list