This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Check the input bitcode files for compatibility.
ClosedPublic

Authored by grimar on Jun 29 2016, 2:39 AM.

Details

Summary

Previously BC files were not checked for the same platform etc,
That lead to confusing error "Invalid section header entry size (e_shentsize) in ELF header" when
mixing files for different architectures.

Patch fixes PR28324.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar updated this revision to Diff 62189.Jun 29 2016, 2:39 AM
grimar retitled this revision from to [ELF] - Check the input bitcode files for compatibility..
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: grimar, llvm-commits.
ruiu accepted this revision.Jun 29 2016, 2:50 AM
ruiu edited edge metadata.

LGTM. Thank you for doing this.

This revision is now accepted and ready to land.Jun 29 2016, 2:50 AM
This revision was automatically updated to reflect the committed changes.