This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Handle fixup_arm_pcrel_9 correctly on big-endian targets
ClosedPublic

Authored by miyuki on Jun 25 2019, 10:22 AM.

Details

Summary

The getFixupKindContainerSizeBytes function returns the size of the
instruction containing a given fixup. Currently fixup_arm_pcrel_9 is
not handled in this function, this causes an assertion failure in
the debug build and incorrect codegen in the release build.

This patch fixes the problem.

Diff Detail

Repository
rL LLVM

Event Timeline

miyuki created this revision.Jun 25 2019, 10:22 AM
This revision is now accepted and ready to land.Jun 26 2019, 3:15 AM
This revision was automatically updated to reflect the committed changes.