HomePhabricator

[LTO] Infer ELFKind/EMachine from Bitcode files

Description

[LTO] Infer ELFKind/EMachine from Bitcode files

So that users are not forced to pass -m on the command line
when the inputs are all bitcode.

PR: 28268
Differential Revision: http://reviews.llvm.org/D21779

Details