<div dir="ltr"><p dir="ltr">On Mar 25, 2014 4:27 PM, "David Blaikie" <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:<br></p><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is the "usual" problem with LLVM's COFF support not handling<br>
empty sections. I'm not sure what we've done about this in the past<br>
(perhaps there's an obvious fix where we add more careful handling so<br>
we don't try to touch those to-be-empty sections - I'm not sure which<br>
one's tickling it in this case).<br></blockquote><div><br></div><div>Largely we've made sure that there's actually something there when we depend on a section. The usual cause is a relocation against a section that ends up not being emitted.</div>
<div><br></div><div>-eric</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Tue, Mar 25, 2014 at 4:16 PM, NAKAMURA Takumi <<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>> wrote:<br>
> Author: chapuni<br>
> Date: Tue Mar 25 18:16:44 2014<br>
> New Revision: 204766<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=204766&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=204766&view=rev</a><br>
> Log:<br>
> llvm/test/DebugInfo/empty.ll: Suppress crash for targeting pecoff while investigating.<br>
><br>
> Modified:<br>
> llvm/trunk/test/DebugInfo/empty.ll<br>
><br>
> Modified: llvm/trunk/test/DebugInfo/empty.ll<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/empty.ll?rev=204766&r1=204765&r2=204766&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/empty.ll?rev=204766&r1=204765&r2=204766&view=diff</a><br>
> ==============================================================================<br>
> --- llvm/trunk/test/DebugInfo/empty.ll (original)<br>
> +++ llvm/trunk/test/DebugInfo/empty.ll Tue Mar 25 18:16:44 2014<br>
> @@ -1,7 +1,7 @@<br>
> ; REQUIRES: object-emission<br>
><br>
> ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s<br>
> -; RUN: %llc_dwarf -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s<br>
> +; RUN: llc -mtriple=x86_64-unknown-unknown -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s<br>
><br>
> ; darwin has a workaround for a linker bug so it always emits one line table entry<br>
> ; XFAIL: darwin<br>
><br>
><br>
> _______________________________________________<br>
> llvm-commits mailing list<br>
> <a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>
</div>