Rui Ueyama
2015-Apr-20 20:49 UTC
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150420/f9f2eb0a/attachment.html>
Simon Atanasyan
2015-May-24 17:00 UTC
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
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
Shankar Easwaram
2015-May-25 02:19 UTC
[LLVMdev] [lld] Linker cannot handle sections with non-unique names
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