<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 27, 2016 at 12:06 AM, Johan Wehrli <span dir="ltr"><<a href="mailto:johan.wehrli@strong.codes" target="_blank">johan.wehrli@strong.codes</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>Most of the time, it is a path problem: <a href="https://support.microsoft.com/en-us/kb/3035999" target="_blank">https://support.microsoft.com/en-us/kb/3035999</a></div><div><br></div><div>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).</div><div><br></div><div>You can modify the line "set(MSVC_DIA_SDK_DIR "$ENV{VSINSTALLDIR}DIA SDK”)” by "set(MSVC_DIA_SDK_DIR “C:<a>\\path\\to\\DIA</a> SDK”)”.</div><div><br></div></div></blockquote><div><br></div><div>Awesome, that did the trick - thanks!</div><div><br></div><div>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.</div><div><br></div><div><br></div><div><br></div><div>On Tue, Jul 26, 2016 at 7:56 PM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Even if you don't have DIA SDK, llvm-pdbdump will still work with the "raw" subcommand, just not the "pretty" subcommand. </div></blockquote><div><br></div><div>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!</div></div><div><br></div><div><br></div><div>I will certainly be willing to speak up if I find anything I know that isn't represented here already.</div><div><br></div><div><br></div><div><br></div><div> - Mike</div><div><br></div><div><br></div><div><br></div></div></div></div>