10 #ifndef LLVM_DEBUGINFO_DWARFDEBUGADDR_H 11 #define LLVM_DEBUGINFO_DWARFDEBUGADDR_H 52 std::vector<uint64_t> Addrs;
98 #endif // LLVM_DEBUGINFO_DWARFDEBUGADDR_H
This class represents lattice values for constants.
uint8_t getHeaderSize() const
Return the size of the table header including the length but not including the addresses.
uint32_t getHeaderOffset() const
DwarfFormat
Constants that define the DWARF format as 32 or 64 bit.
A class representing an address table as specified in DWARF v5.
Tagged union holding either a T or a Error.
Container for dump options that control which debug information will be dumped.
Expected< uint64_t > getAddrEntry(uint32_t Index) const
Return the address based on a given index.
uint8_t getAddrSize() const
Error extract(DWARFDataExtractor Data, uint32_t *OffsetPtr, uint16_t Version, uint8_t AddrSize, std::function< void(Error)> WarnCallback)
Extract an entire table, including all addresses.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void dump(raw_ostream &OS, DIDumpOptions DumpOpts={}) const
uint32_t getLength() const
Returns the length of this table, including the length field, or 0 if the length has not been determi...
This file contains constants used for implementing Dwarf debug support.
uint32_t getDataSize() const
Returns the length of the array of addresses.
void invalidateLength()
Invalidate Length field to stop further processing.
Lightweight error class with error context and mandatory checking.
This class implements an extremely fast bulk output stream that can only output to a stream...
print Print MemDeps of function
bool hasValidLength() const
Verify that the given length is valid for this table.