[llvm] r204901 - Rejected r204899 and r204900 due to remaining test failures on cmake-llvm-x86_64-linux buildbot.

Stepan Dyatkovskiy stpworld at narod.ru
Fri Mar 28 13:58:05 PDT 2014


Hi all,
Please find new patch in attachment.
Patch contains extended set of tests (I have tried to cover every 
possible branch of code), and, as it was before, it introduces fixups 
for imm expressions.
Thanks!
-Stepan.

Renato Golin wrote:
> On 28 March 2014 06:24, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:
>> As Rafael mentioned, MCAssembler::handleFixup is called. This method invokes
>> evaluateFixup, and if it fails it puts relocation.
>
> Ahn, here's where I got confused. I thought MCfixups were just
> internal representations of relocation in the output, but they're
> actually meant to do this kind of lazy evaluation where possible.
> Thanks for clearing that up.
>
>
>> So I think, we can add MCFixup for now, then commit additional tests. And
>> meanwhile I could switch to PR18929.
>> What do you think, guys?
>
> The problem with committing code before tests is that you're probably
> going to find areas that you didn't cover, and you'll have to change
> the code (even if only slightly). I'm not expecting an exhaustive
> list, but would be good to have at least two or three different
> expressions that work and two or three that don't (with the
> appropriate error checks).
>
> cheers,
> --renato
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr18931-2014-03-29.patch
Type: text/x-diff
Size: 4111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140329/09c4fc04/attachment.patch>


More information about the llvm-commits mailing list