HomePhabricator

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

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

Description

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

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.

Differential revision: http://reviews.llvm.org/D21832

llvm-svn: 274113

Details

Committed
grimarJun 29 2016, 2:46 AM
Differential Revision
D21832: [ELF] - Check the input bitcode files for compatibility.
Parents
rGfbbde548cfcc: Move isValidCIdentifier to Strings.cpp.
Branches
Unknown
Tags
Unknown