[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 15:14:17 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL265066: Object: Add function for moving thin archive object buffer vector out of… (authored by pcc).
Changed prior to commit:
http://reviews.llvm.org/D18664?vs=52262&id=52298#toc
Repository:
rL LLVM
http://reviews.llvm.org/D18664
Files:
llvm/trunk/include/llvm/Object/Archive.h
Index: llvm/trunk/include/llvm/Object/Archive.h
===================================================================
--- llvm/trunk/include/llvm/Object/Archive.h
+++ llvm/trunk/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.52298.patch
Type: text/x-patch
Size: 500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160331/612ee577/attachment.bin>
More information about the llvm-commits
mailing list