[llvm] r204766 - llvm/test/DebugInfo/empty.ll: Suppress crash for targeting pecoff while investigating.

David Blaikie dblaikie at gmail.com
Tue Mar 25 20:13:24 PDT 2014


On Tue, Mar 25, 2014 at 7:13 PM, Eric Christopher <echristo at gmail.com> wrote:
> On Mar 25, 2014 4:27 PM, "David Blaikie" <dblaikie at gmail.com> wrote:
>>
>> This is the "usual" problem with LLVM's COFF support not handling
>> empty sections. I'm not sure what we've done about this in the past
>> (perhaps there's an obvious fix where we add more careful handling so
>> we don't try to touch those to-be-empty sections - I'm not sure which
>> one's tickling it in this case).
>
>
> 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.

Ah - easier than I figured. COFF just didn't have the DWO related
section symbols... fixed in r204780.

>
> -eric
>
>>
>>
>> On Tue, Mar 25, 2014 at 4:16 PM, NAKAMURA Takumi <geek4civic at gmail.com>
>> wrote:
>> > Author: chapuni
>> > Date: Tue Mar 25 18:16:44 2014
>> > New Revision: 204766
>> >
>> > URL: http://llvm.org/viewvc/llvm-project?rev=204766&view=rev
>> > Log:
>> > llvm/test/DebugInfo/empty.ll: Suppress crash for targeting pecoff while
>> > investigating.
>> >
>> > Modified:
>> >     llvm/trunk/test/DebugInfo/empty.ll
>> >
>> > Modified: llvm/trunk/test/DebugInfo/empty.ll
>> > URL:
>> > http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/empty.ll?rev=204766&r1=204765&r2=204766&view=diff
>> >
>> > ==============================================================================
>> > --- llvm/trunk/test/DebugInfo/empty.ll (original)
>> > +++ llvm/trunk/test/DebugInfo/empty.ll Tue Mar 25 18:16:44 2014
>> > @@ -1,7 +1,7 @@
>> >  ; REQUIRES: object-emission
>> >
>> >  ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
>> > -; RUN: %llc_dwarf -split-dwarf=Enable < %s -filetype=obj |
>> > llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s
>> > +; RUN: llc -mtriple=x86_64-unknown-unknown -split-dwarf=Enable < %s
>> > -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s
>> >
>> >  ; darwin has a workaround for a linker bug so it always emits one line
>> > table entry
>> >  ; XFAIL: darwin
>> >
>> >
>> > _______________________________________________
>> > llvm-commits mailing list
>> > llvm-commits at cs.uiuc.edu
>> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list