9#ifndef LLVM_DEBUGINFO_GSYM_GSYMREADERV1_H
10#define LLVM_DEBUGINFO_GSYM_GSYMREADERV1_H
23 const Header *Hdr =
nullptr;
24 std::unique_ptr<Header> 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...
uint8_t getAddressOffsetSize() const override
Get the address offset byte size for this GSYM file.
uint64_t getBaseAddress() const override
Get the base address of this GSYM file.
uint8_t getStringOffsetSize() const override
Get the string offset byte size for this GSYM file.
llvm::Error parseHeaderAndGlobalDataEntries() override
Parse the version-specific header and populate GlobalDataSections.
uint64_t getNumAddresses() const override
Get the number of addresses in this GSYM file.
uint16_t getVersion() const override
Get the GSYM version for this reader.
~GsymReaderV1() override=default
uint8_t getAddressInfoOffsetSize() const override
Get the address info offset byte size for this GSYM file.
LLVM_ABI void dump(raw_ostream &OS) override
Dump the entire Gsym data contained in this object.
GsymReaderV1(std::unique_ptr< MemoryBuffer > Buffer, llvm::endianness Endian)
GsymReaderV1(GsymReaderV1 &&RHS)=default
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.