<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 8, 2015 at 12:00 PM, Rafael Espíndola <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 8 September 2015 at 14:50, Michael Spencer <<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>> wrote:<br>
> On Tue, Sep 8, 2015 at 6:52 AM, Rafael Espindola via llvm-commits<br>
> <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
>> Author: rafael<br>
>> Date: Tue Sep  8 08:52:31 2015<br>
>> New Revision: 247014<br>
>><br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=247014&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=247014&view=rev</a><br>
>> Log:<br>
>> Revert "[elf2] Add 32S and 64 relocations (needed for musl)."<br>
>><br>
>> This reverts commit r246902. It had uncessary use of yaml.<br>
><br>
> This is not a valid reason to revert someone's commit. This passes the<br>
> tests, and does not block forward progress of other developers. The<br>
> correct way to handle this is to send an email and request the changes<br>
> you would like.<br>
<br>
</span>Not in this case. Many times before the feedback was for not using<br>
YAML. There is nothing new about it in this patch.<br></blockquote><div><br></div><div>But the reason has always been verbosity. Here, we can test every new relocation by just adding 3 lines:</div><div><br></div><div><span style="font-size:13px">      - Offset:          0x000000000000xxxx</span><br style="font-size:13px"><span style="font-size:13px">        Symbol:          _start</span><br style="font-size:13px"><span style="font-size:13px">        Type:            R_xxxxxxxxxxxxx</span><br></div><div><br></div><div>And update CHECK lines.</div><div><br></div><div>That is very simple, and just as short as any llvm-mc based test. Best of all, it actually has a pattern that is very easy to follow; the equivalent assembly is non-obvious for many (most?) relocations.</div><div><br></div><div>-- Sean Silva</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Also, "I don't know it" is *never* a good reason to implement a patch<br>
one way or the other.<br>
<br>
And last but not least, in the past you have taken more than a week to<br>
reply to post commit reviews as simple as "reuse a variable".<br>
<br>
Cheers,<br>
Rafael<br>
<div class=""><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>