[LTO] Add option to emit assembly from LTOCodeGenerator
authorTobias Edler von Koch <tobias@codeaurora.org>
Thu, 19 Nov 2015 23:59:24 +0000 (23:59 +0000)
committerTobias Edler von Koch <tobias@codeaurora.org>
Thu, 19 Nov 2015 23:59:24 +0000 (23:59 +0000)
commit5b01c014963f0b4f79aeda48eebad3cc587dba13
tree00bf0a5f1a8016ce0d36466d143bd6a51439cb2d
parenta0734793bf0b8871c0e843244a35e7337877835f
[LTO] Add option to emit assembly from LTOCodeGenerator

This adds a new API, LTOCodeGenerator::setFileType, to choose the output file
format for LTO CodeGen. A corresponding change to use this new API from
llvm-lto and a test case is coming in a separate commit.

Differential Revision: http://reviews.llvm.org/D14554

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253622 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ParallelCG.h
include/llvm/LTO/LTOCodeGenerator.h
lib/CodeGen/ParallelCG.cpp
lib/LTO/LTOCodeGenerator.cpp