HomePhabricator

[LTO] Infer ELFKind/EMachine from Bitcode files

Authored by davide on Jun 28 2016, 11:12 PM.

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

llvm-svn: 274107