9#ifndef LLVM_DEBUGINFO_DWARF_DWARFDATAEXTRACTOR_H
10#define LLVM_DEBUGINFO_DWARF_DWARFDATAEXTRACTOR_H
33 bool IsLittleEndian,
uint8_t AddressSize)
35 Obj(&Obj), Section(&Section) {}
52 std::optional<RelocAddrEntry>
E = Obj->
find(*Section, *Off);
54 if (!
E || (Err && *Err))
57 *SecNdx =
E->SectionIndex;
60 E->SymbolValue, LocData);
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
This file contains constants used for implementing Dwarf debug support.
static StringRef substr(StringRef Str, uint64_t Len)
virtual std::optional< RelocAddrEntry > find(const DWARFSection &Sec, uint64_t Pos) const =0
Helper for Errors used as out-parameters.
Lightweight error class with error context and mandatory checking.
LLVM_ABI uint64_t resolveRelocation(RelocationResolver Resolver, const RelocationRef &R, uint64_t S, uint64_t LocData)
This is an optimization pass for GlobalISel generic memory operations.
static const uint64_t UndefSection