[PATCH] D29653: [ELF] - Assign proper values for DefinedSynthetic symbols attached to non-allocatable sections.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 09:41:45 PST 2017


>> +# CHECK:      SYMBOL TABLE:
>> +# CHECK-NEXT: 0000000000000000 *UND* 00000000
>> +# CHECK-NEXT: 0000000000000160 .strtab 00000000 Sym
>> +
>> +.section .orphan,""
>> + .quad 0
>
>The issue is independent of the section being an orphan, no? From the
>description we would produce the wrong answer even if the section was
>mentioned in the script.
>
>If that is the case, please update the test to use a non orphan section.
>
>Cheers,
>Rafael

Yap, looks I overcomplicated things a bit again, sorry.
Patch updated to get rid of dependency on orphans in testcase.

George.


More information about the llvm-commits mailing list