9#ifndef LLVM_DEBUGINFO_GSYM_GSYMREADERV2_H
10#define LLVM_DEBUGINFO_GSYM_GSYMREADERV2_H
24 std::unique_ptr<HeaderV2> SwappedHdr;
Lightweight error class with error context and mandatory checking.
This interface provides simple read-only access to a block of memory, and provides simple methods for...
uint16_t getVersion() const override
Get the GSYM version for this reader.
uint64_t getNumAddresses() const override
Get the number of addresses in this GSYM file.
GsymReaderV2(GsymReaderV2 &&RHS)=default
GsymReaderV2(std::unique_ptr< MemoryBuffer > Buffer, llvm::endianness Endian)
uint64_t getBaseAddress() const override
Get the base address of this GSYM file.
uint8_t getAddressInfoOffsetSize() const override
Get the address info offset byte size for this GSYM file.
uint8_t getAddressOffsetSize() const override
Get the address offset byte size for this GSYM file.
~GsymReaderV2() override=default
uint8_t getStringOffsetSize() const override
Get the string offset byte size for this GSYM file.
LLVM_ABI void dump(raw_ostream &OS) override
Dump the entire Gsym data contained in this object.
llvm::Error parseHeaderAndGlobalDataEntries() override
For V2 file layout, see HeaderV2.h.
virtual void dump(raw_ostream &OS)=0
Dump the entire Gsym data contained in this object.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.