<div dir="ltr"><div>Hi Carlo,</div><div><br></div>Do you have VS2010 handy?  It should read the DI fine.<div><br></div><div>Unfortunately, VS2013 is not able to use the debug info we generate.</div><div>It is on my plans to investigate and fix the generator, but I didn't have enough free cycles recently.</div><div class="gmail_extra"><br></div><div class="gmail_extra">--</div><div class="gmail_extra">Tim</div><div class="gmail_extra"><br><div class="gmail_quote">2014-09-15 20:30 GMT+04:00 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank" class="cremed">rnk@google.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">+Timur<div><br></div><div>Hm, this didn't work out of the box for me.</div><div><br></div><div>Make sure the debug info format is set to one of /Zi or /Z7. /ZI (capital 'i') is ignored, but it looks like it's the default. We may wish to revisit that. You can find that setting in project -> properties -> C/C++ -> debug information format.</div><div><br>Once I did that, I got symbols, but no line info. The source language was listed as "unknown", so we may need to do a thing or two to make VS happy.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 15, 2014 at 1:31 AM, Carlo Kok <span dir="ltr"><<a href="mailto:ck@remobjects.com" target="_blank" class="cremed">ck@remobjects.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Is there any way to debug the codeview output of llvm from within Visual Studio?<br>
<br>
I want to use the codeview line info debug output of clang/llvm. I tried with the<br>
x86_64-pc-windows-msvc and i686-pc-windows-msvc triples and linking it into an<br>
existing project with VC++ from within the IDE and outside with link /debug.<br>
Neither option lets me debug with Visual Studio as debugger host. With some help<br>
I found that WinDBG does show line info, but Visual Studio does not, is there any<br>
way to get this working with VS?<span><font color="#888888"><br>
<br>
-- <br>
Carlo Kok<br>
RemObjects Software<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank" class="cremed">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank" class="cremed">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank" class="cremed">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>