As it happens, I have created a patch that enables DWARF debugging on
windows. It is against trunk revision 133401. I have tested using clang to
compile, and mingw to link & debug.
On Fri, Jun 17, 2011 at 12:25 PM, Don Williamson
<don.williamson at yahoo.com>wrote:
> OK, thanks - that's a real shame.
>
>
>
> ----- Original Message -----
> From: Eli Friedman <eli.friedman at gmail.com>
> To: Don Williamson <don.williamson at yahoo.com>
> Cc: "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu>
> Sent: Friday, June 17, 2011 7:27 PM
> Subject: Re: [LLVMdev] Simple clang + llc crash on Windows 7
>
> On Fri, Jun 17, 2011 at 11:07 AM, Don Williamson
> <don.williamson at yahoo.com> wrote:
> > And I get a crash with the error message:
> >
> > EmitRawText called on an MCStreamer that doesn't support it,
> something must not be fully mc'ized
> >
> > I understand from the 2.9 release notes that filetype=obj is currently
> experimentalbut the above is lifted from the visual studio intro on the
> website with a couple of minor modifications.
> >
> > Can I expect this to work? Am I doing something wrong?
>
> There's a FIXME in AsmPrinter::EmitSectionOffset (in
> lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp) pointing to this issue...
> filetype=obj is still experimental, particularly for Windows.
>
> -Eli
>
>
> _______________________________________________
> 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/20110619/2cc7e567/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32-debug-info.patch
Type: application/octet-stream
Size: 14694 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110619/2cc7e567/attachment.obj>