1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Object: Add function for moving thin archive object buffer vector out of Archive.

Differential Revision: http://reviews.llvm.org/D18664

llvm-svn: 265066
This commit is contained in:
Peter Collingbourne 2016-03-31 22:08:57 +00:00
parent e7ef8d0dc2
commit 0b22acfaa7

View File

@ -212,6 +212,10 @@ public:
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;