13 #ifndef LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H 14 #define LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H 49 struct AugmentationInfo {
50 bool AugmentationDataPresent =
false;
51 bool EHDataFieldPresent =
false;
52 uint8_t Fields[4] = {0x0, 0x0, 0x0, 0x0};
55 struct CIEInformation {
56 CIEInformation() =
default;
57 CIEInformation(
Symbol &CIESymbol) : CIESymbol(&CIESymbol) {}
58 Symbol *CIESymbol =
nullptr;
59 bool FDEsHaveLSDAField =
false;
63 EdgeTarget() =
default;
77 auto I = CIEInfos.find(Address);
78 if (
I == CIEInfos.end())
79 return make_error<JITLinkError>(
"No CIE found at address " +
91 Error processCIE(ParseContext &PC,
Block &B,
size_t RecordOffset,
92 size_t RecordLength,
size_t CIEDeltaFieldOffset);
93 Error processFDE(ParseContext &PC,
Block &B,
size_t RecordOffset,
94 size_t RecordLength,
size_t CIEDeltaFieldOffset,
112 #endif // LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
This class represents lattice values for constants.
EHFrameSplitter(StringRef EHFrameSectionName)
auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object< decltype(std::make_tuple(detail::build_format_adapter(std::forward< Ts >(Vals))...))>
An Addressable with content and edges.
A LinkGraph pass that adds missing FDE-to-CIE, FDE-to-PC and FDE-to-LSDA edges.
Error operator()(LinkGraph &G)
Tagged union holding either a T or a Error.
Symbol & getTarget() const
uint64_t JITTargetAddress
Represents an address in the target process's address space.
A LinkGraph pass that splits blocks in an eh-frame section into sub-blocks representing individual eh...
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
A map of addresses to Symbols.
AddendT getAddend() const
Enables easy lookup of blocks by addresses.
Target - Wrapper for Target specific information.
Represents fixups and constraints in the LinkGraph.
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
StringRef - Represent a constant reference to a string, i.e.