1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/include/llvm/LTO
Rafael Espindola b4f7892e3a 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
..
LTOCodeGenerator.h Move a call to getGlobalContext out of lib/LTO. 2015-12-04 02:42:28 +00:00
LTOModule.h Modernize the C++ APIs for creating LTO modules. 2015-12-04 16:14:31 +00:00