| commit | 3cc69d90f07d5047bd9fc2c4fa11ae859a2b1846 | [log] [tgz] |
|---|---|---|
| author | Peter Collingbourne <peter@pcc.me.uk> | Mon Jun 01 20:08:30 2015 +0000 |
| committer | Peter Collingbourne <peter@pcc.me.uk> | Mon Jun 01 20:08:30 2015 +0000 |
| tree | b3ad3a7876246a52581243efb0a851d550a687d6 | |
| parent | d218565c04866c58f301bce5cccc8ce4ea368319 [diff] |
Make the C++ LTO API easier to use from C++ clients. 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. Differential Revision: http://reviews.llvm.org/D10114 llvm-svn: 238776