llvm/tools/llvm-lto
Teresa Johnson 3d6b718ec1 [ThinLTO] Fix temp file dumping, enable via llvm-lto and test it
Summary:
Fixed a bug in ThinLTOCodeGenerator's temp file dumping. The Twine
needs to be passed directly as an argument, or a copy saved into a
std::string.

It doesn't seem there are any consumers of this, so I added a new option
to llvm-lto to enable saving of temp files during ThinLTO, and augmented
a test to use it to check post-import but pre-opt bitcode.

Reviewers: mehdi_amini

Subscribers: llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D23525

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278761 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-15 23:24:57 +00:00
..
CMakeLists.txt Fix libdeps in r275125. LTO tools require BitReader. 2016-07-12 03:01:22 +00:00
llvm-lto.cpp [ThinLTO] Fix temp file dumping, enable via llvm-lto and test it 2016-08-15 23:24:57 +00:00
LLVMBuild.txt Fix library dependency for llvm-lto after r262977 2016-03-09 02:34:13 +00:00