9#ifndef LLVM_DEBUGINFO_GSYM_EXTRACTRANGES_H
10#define LLVM_DEBUGINFO_GSYM_EXTRACTRANGES_H
18#define HEX8(v) llvm::format_hex(v, 4)
19#define HEX16(v) llvm::format_hex(v, 6)
20#define HEX32(v) llvm::format_hex(v, 10)
21#define HEX64(v) llvm::format_hex(v, 18)
59void encodeRanges(
const AddressRanges &Ranges, FileWriter &O,
75raw_ostream &
operator<<(raw_ostream &
OS,
const AddressRange &R);
77raw_ostream &
operator<<(raw_ostream &
OS,
const AddressRanges &AR);
AddressRange decodeRange(DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset)
AddressRange objects are encoded and decoded to be relative to a base address.
void encodeRanges(const AddressRanges &Ranges, FileWriter &O, uint64_t BaseAddr)
void decodeRanges(AddressRanges &Ranges, DataExtractor &Data, uint64_t BaseAddr, uint64_t &Offset)
Address ranges are decoded and encoded to be relative to a base address.
uint64_t skipRanges(DataExtractor &Data, uint64_t &Offset)
Skip an address range object in the specified data a the specified offset.
void encodeRange(const AddressRange &Range, FileWriter &O, uint64_t BaseAddr)
void skipRange(DataExtractor &Data, uint64_t &Offset)
Skip an address range object in the specified data a the specified offset.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & operator<<(raw_ostream &OS, const APFixedPoint &FX)