From: Peter Collingbourne Date: Thu, 31 Mar 2016 22:08:57 +0000 (+0000) Subject: Object: Add function for moving thin archive object buffer vector out of Archive. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a69d9e5aabb400503b267bd5b88f7a1e1cd3a0b9;p=platform%2Fupstream%2Fllvm.git Object: Add function for moving thin archive object buffer vector out of Archive. Differential Revision: http://reviews.llvm.org/D18664 llvm-svn: 265066 --- diff --git a/llvm/include/llvm/Object/Archive.h b/llvm/include/llvm/Object/Archive.h index 936413e..6dd8c51 100644 --- a/llvm/include/llvm/Object/Archive.h +++ b/llvm/include/llvm/Object/Archive.h @@ -212,6 +212,10 @@ public: StringRef getSymbolTable() const { return SymbolTable; } uint32_t getNumberOfSymbols() const; + std::vector> takeThinBuffers() { + return std::move(ThinBuffers); + } + private: StringRef SymbolTable; StringRef StringTable;