This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] Add test to check that architecture specific values are not used on wrong architecture.
ClosedPublic

Authored by jakehehrlich on Sep 18 2017, 5:54 PM.

Details

Summary

This change adds a test that checks the an error is produced when a hexagon specific reserved section index is used but e_machine is not EM_HEXAGON

Diff Detail

Repository
rL LLVM

Event Timeline

jakehehrlich created this revision.Sep 18 2017, 5:54 PM

Oh and it also fixes a blemish that I let slip though the cracks in section-index-unsupported.test (a related test)

This revision is now accepted and ready to land.Sep 19 2017, 1:56 AM
This revision was automatically updated to reflect the committed changes.