diff options
Diffstat (limited to 'llvm/tools/dsymutil/BinaryHolder.h')
-rw-r--r-- | llvm/tools/dsymutil/BinaryHolder.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/dsymutil/BinaryHolder.h b/llvm/tools/dsymutil/BinaryHolder.h index 5b2061d23aa..f4ca0b2bc3a 100644 --- a/llvm/tools/dsymutil/BinaryHolder.h +++ b/llvm/tools/dsymutil/BinaryHolder.h @@ -66,6 +66,12 @@ class BinaryHolder { MapArchiveAndGetMemberBuffers(StringRef Filename, sys::TimePoint<std::chrono::seconds> Timestamp); + void changeBackingMemoryBuffer(std::unique_ptr<MemoryBuffer> &&MemBuf); + ErrorOr<const object::ObjectFile &> getObjfileForArch(const Triple &T); + +public: + BinaryHolder(bool Verbose) : Verbose(Verbose) {} + /// Return the MemoryBufferRef that holds the memory mapping for the /// given \p Filename. This function will try to parse archive /// member specifications of the form /path/to/archive.a(member.o). @@ -79,12 +85,6 @@ class BinaryHolder { GetMemoryBuffersForFile(StringRef Filename, sys::TimePoint<std::chrono::seconds> Timestamp); - void changeBackingMemoryBuffer(std::unique_ptr<MemoryBuffer> &&MemBuf); - ErrorOr<const object::ObjectFile &> getObjfileForArch(const Triple &T); - -public: - BinaryHolder(bool Verbose) : Verbose(Verbose) {} - /// Get the ObjectFiles designated by the \p Filename. This /// might be an archive member specification of the form /// /path/to/archive.a(member.o). |