[LLVMdev] codeview debug info in Visual Studio

Timur Iskhodzhanov timurrrr at google.com
Mon Sep 15 09:34:40 PDT 2014


Hi Carlo,

Do you have VS2010 handy?  It should read the DI fine.

Unfortunately, VS2013 is not able to use the debug info we generate.
It is on my plans to investigate and fix the generator, but I didn't have
enough free cycles recently.

--
Tim

2014-09-15 20:30 GMT+04:00 Reid Kleckner <rnk at google.com>:

> +Timur
>
> Hm, this didn't work out of the box for me.
>
> 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.
>
> 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.
>
> On Mon, Sep 15, 2014 at 1:31 AM, Carlo Kok <ck at remobjects.com> wrote:
>
>> Hi,
>>
>> Is there any way to debug the codeview output of llvm from within Visual
>> Studio?
>>
>> I want to use the codeview line info debug output of clang/llvm. I tried
>> with the
>> x86_64-pc-windows-msvc and i686-pc-windows-msvc triples and linking it
>> into an
>> existing project with VC++ from within the IDE and outside with link
>> /debug.
>> Neither option lets me debug with Visual Studio as debugger host. With
>> some help
>> I found that WinDBG does show line info, but Visual Studio does not, is
>> there any
>> way to get this working with VS?
>>
>> --
>> Carlo Kok
>> RemObjects Software
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140915/cfcabfd3/attachment.html>


More information about the llvm-dev mailing list