diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-04 16:14:31 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-12-04 16:14:31 +0000 |
commit | a7612b4fac8b63923326d3d616b55ed86aea54d6 (patch) | |
tree | d1688367d0bb0848467cdba780024b484d591196 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | bebd2f402855c74b0607d2cae5b2a710acaf20f8 (diff) | |
download | bcm5719-llvm-a7612b4fac8b63923326d3d616b55ed86aea54d6.tar.gz bcm5719-llvm-a7612b4fac8b63923326d3d616b55ed86aea54d6.zip |
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions