[PATCH] Make the C++ LTO API easier to use from C++ clients.

Peter Collingbourne peter at pcc.me.uk
Thu May 28 17:30:01 PDT 2015


Hi rafael,

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.

http://reviews.llvm.org/D10114

Files:
  include/llvm/LTO/LTOCodeGenerator.h
  lib/LTO/LTOCodeGenerator.cpp
  tools/llvm-lto/llvm-lto.cpp
  tools/lto/lto.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10114.26760.patch
Type: text/x-patch
Size: 7628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150529/282633f1/attachment.bin>


More information about the llvm-commits mailing list