<div dir="ltr"><div class="gmail_quote">On Mon, Apr 6, 2015 at 3:46 PM Rohan Bajaj <<a href="mailto:rohanbajaj84@gmail.com">rohanbajaj84@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Is making PDB files for corresponding IR supported in LLVM latest version?</div></div></blockquote><div><br></div><div>Not today.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>After some searching I see llvm-pdbdump, but I want to annotate the IR with debug information so that when I write bitcode it has pdb information.</div><div><br></div><div>I've heard of CodeView, but it seems to be only for line information. I want variable values also.</div><div><br></div><div>I would be ok to use DWARF if Visual Studio could understand it using LLDB but I don't know how to do that or if it is support.</div></div></blockquote><div><br></div><div>Zach (CC-ed) and others are actively working on making LLDB work well on Windows, including reading DWARF debug information on Windows and potentially integration with Visual Studio (although I think that is further away at the moment). However, further discussion might be better on the LLDB mailing lists.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>I would also be ok to write DWARF and then convert to PDB if such is possible.</div><div><br></div><div>How can I achieve this?</div></div></blockquote><div><br></div><div>Personally, I suspect the best way to do this is to write DWARF and get LLDB into your workflow (either directly with the command line or in the IDE). That at least is the path others are currently pursuing.</div></div></div>