Sink undesirable LTO functions into the old C API
authorAlp Toker <alp@nuanti.com>
Fri, 4 Jul 2014 00:58:41 +0000 (00:58 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 4 Jul 2014 00:58:41 +0000 (00:58 +0000)
commit2255dc771297ba037ddc83c02acde8937228718b
treeae010eb727d3f45764243f65412bea56ca6aacd9
parent00428878bb65cbf2c5620bccda19706cec24c6b9
Sink undesirable LTO functions into the old C API

We want to encourage users of the C++ LTO API to reuse memory buffers instead
of repeatedly opening and reading the same file contents.

This reverts commit r212305 and implements a tidier scheme.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212308 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LTO/LTOModule.h
lib/LTO/LTOModule.cpp
tools/lto/lto.cpp