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.<br><br><div class="gmail_quote">On Fri, Jun 17, 2011 at 12:25 PM, Don Williamson <span dir="ltr"><<a href="mailto:don.williamson@yahoo.com">don.williamson@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">OK, thanks - that's a real shame.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
----- Original Message -----<br>
From: Eli Friedman <<a href="mailto:eli.friedman@gmail.com">eli.friedman@gmail.com</a>><br>
To: Don Williamson <<a href="mailto:don.williamson@yahoo.com">don.williamson@yahoo.com</a>><br>
Cc: "<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>" <<a href="mailto:llvmdev@cs.uiuc.edu">llvmdev@cs.uiuc.edu</a>><br>
Sent: Friday, June 17, 2011 7:27 PM<br>
Subject: Re: [LLVMdev] Simple clang + llc crash on Windows 7<br>
<br>
On Fri, Jun 17, 2011 at 11:07 AM, Don Williamson<br>
<<a href="mailto:don.williamson@yahoo.com">don.williamson@yahoo.com</a>> wrote:<br>
> And I get a crash with the error message:<br>
><br>
>      EmitRawText called on an MCStreamer that doesn't support it,  something must not be fully mc'ized<br>
><br>
> 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.<br>
><br>
> Can I expect this to work? Am I doing something wrong?<br>
<br>
There's a FIXME in AsmPrinter::EmitSectionOffset (in<br>
lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp) pointing to this issue...<br>
filetype=obj is still experimental, particularly for Windows.<br>
<br>
-Eli<br>
<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>