[PATCH] D18664: Object: Add function for moving thin archive object buffer vector out of Archive.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 12:47:00 PDT 2016
pcc created this revision.
pcc added a reviewer: rafael.
pcc added a subscriber: llvm-commits.
http://reviews.llvm.org/D18664
Files:
include/llvm/Object/Archive.h
Index: include/llvm/Object/Archive.h
===================================================================
--- include/llvm/Object/Archive.h
+++ include/llvm/Object/Archive.h
@@ -212,6 +212,10 @@
StringRef getSymbolTable() const { return SymbolTable; }
uint32_t getNumberOfSymbols() const;
+ std::vector<std::unique_ptr<MemoryBuffer>> takeThinBuffers() {
+ return std::move(ThinBuffers);
+ }
+
private:
StringRef SymbolTable;
StringRef StringTable;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18664.52262.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160331/f96774da/attachment.bin>
More information about the llvm-commits
mailing list