This is an archive of the discontinued LLVM Phabricator instance.

Make the C++ LTO API easier to use from C++ clients.
ClosedPublic

Authored by pcc on May 28 2015, 5:29 PM.

Details

Summary

Start using C++ types such as StringRef and MemoryBuffer in the C++ LTO
API. In doing so, clarify the ownership of the native object file: the caller
now owns it, not the LTOCodeGenerator. The C libLTO library has been modified
to use a derived class of LTOCodeGenerator that owns the object file.

Diff Detail

Repository
rL LLVM

Event Timeline

pcc updated this revision to Diff 26760.May 28 2015, 5:29 PM
pcc retitled this revision from to Make the C++ LTO API easier to use from C++ clients..
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: rafael.
pcc added subscribers: ruiu, Unknown Object (MLST).
rafael accepted this revision.Jun 1 2015, 12:55 PM
rafael edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 1 2015, 12:55 PM
This revision was automatically updated to reflect the committed changes.