This is an archive of the discontinued LLVM Phabricator instance.

ARMEB: Additional test files for ARM fixups
ClosedPublic

Authored by cpirker on May 19 2014, 8:29 AM.

Details

Reviewers
rengolin
jmolloy
Summary

Hi all,

I add two asserts in the ARM fixup handling routine to check valid values for "FullSizeBytes."
This patch also adds test files for fixups in big endian ARM mode.
Please review.

Thanks,
Christian

Diff Detail

Event Timeline

cpirker updated this revision to Diff 9576.May 19 2014, 8:29 AM
cpirker retitled this revision from to ARMEB: Additional test files for ARM fixups.
cpirker updated this object.
cpirker edited the test plan for this revision. (Show Details)
cpirker added a reviewer: jmolloy.
cpirker added a subscriber: Unknown Object (MLST).

Hi Christian,

Is it possible to add a test to catch the asserts when enabled?

Otherwise, LGTM.

thanks,
--renato

Konrad added a subscriber: Konrad.May 20 2014, 1:43 AM

Hi Renato,

You would need to change llvm source code to enable the asserts, as they check invalid constants.

cheers,
Conny

rengolin accepted this revision.May 20 2014, 1:56 AM
rengolin added a reviewer: rengolin.

Right, thought so.

cheers,
--renato

This revision is now accepted and ready to land.May 20 2014, 1:56 AM
cpirker closed this revision.May 20 2014, 2:33 AM

I committed this patch as rL209200.