teak-llvm/llvm/tools/llvm-lto
Rafael Espindola a7612b4fac Modernize the C++ APIs for creating LTO modules.
This is a continuation of r253367.

These functions return is owned by the caller, so they return
std::unique_ptr now.

The call can fail, so the return is wrapped in ErrorOr.

They have a context where to report diagnostics, so they don't need to
take a string out parameter.

With this there are no call to getGlobalContext in lib/LTO.

llvm-svn: 254721
2015-12-04 16:14:31 +00:00
..
CMakeLists.txt Fix required library for r250699 to BitWriter instead of BitReader. 2015-10-19 15:21:46 +00:00
llvm-lto.cpp Modernize the C++ APIs for creating LTO modules. 2015-12-04 16:14:31 +00:00
LLVMBuild.txt Fix required library for r250699 to BitWriter instead of BitReader. 2015-10-19 15:21:46 +00:00
Makefile