[LLVMdev] [lld] Linker cannot handle sections with non-unique names

Shankar Easwaram shankarke at gmail.com
Sun May 24 19:19:52 PDT 2015


Thanks Simon.



> On May 24, 2015, at 12:00, Simon Atanasyan <simon at atanasyan.com> wrote:
> 
> I have committed the patch with added test case at r238115.
> It is better to do not keep a window broken for so long time.
> 
>> On Mon, Apr 20, 2015 at 11:49 PM, Rui Ueyama <ruiu at google.com> wrote:
>> Nothing wrong with going ahead with a temporary measure if the temporary
>> measure is reasonable (besides the discussion if checking in binary files is
>> desirable). Even if you plan to add a test written in YAML, it's better to
>> check in a binary at least for now than checking it in without any tests.
>> 
>> On Mon, Apr 20, 2015 at 7:59 AM, Shankar Easwaram <shankarke at gmail.com>
>> wrote:
>>> 
>>> I plan to add a test case but couldn't add because of yaml2obj support. I
>>> am adding that support to yaml2obj and obj2yaml and push this patch later. I
>>> don't like the idea of adding binary files to the test repo as we need to
>>> keep cleaning up later.
>>> 
>>> 
>>> 
>>>>> On Apr 20, 2015, at 03:34, Simon Atanasyan <simon at atanasyan.com> wrote:
>>>>> 
>>>>> On Mon, Apr 20, 2015 at 1:44 AM, Shankar Easwaran <shankarke at gmail.com>
>>>>> wrote:
>>>>> Attached patch fixes the issue.
>>>> 
>>>> Thanks for the quick fix. The patch LGTM if you add a test case.
>>>> Unfortunately yaml2obj does not support duplicated section names but
>>>> we can use a binary input file.
> 
> -- 
> Simon Atanasyan




More information about the llvm-dev mailing list