13#ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H
14#define LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H
39raw_ostream &
operator<<(raw_ostream &
OS, ArrayRef<SymbolStringPtr> Symbols);
42raw_ostream &
operator<<(raw_ostream &
OS,
const JITSymbolFlags &Flags);
64raw_ostream &
operator<<(raw_ostream &
OS,
const MaterializationUnit &MU);
77raw_ostream &
operator<<(raw_ostream &
OS,
const SymbolLookupSet &LookupSet);
93raw_ostream &
operator<<(raw_ostream &
OS,
const SymbolStringPool &SSP);
112 DumpObjects(std::string DumpDir =
"", std::string IdentifierOverride =
"");
116 operator()(std::unique_ptr<MemoryBuffer> Obj);
121 std::string IdentifierOverride;
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Tagged union holding either a T or a Error.
This interface provides simple read-only access to a block of memory, and provides simple methods for...
StringRef - Represent a constant reference to a string, i.e.
A function object that can be used as an ObjectTransformLayer transform to dump object files to disk ...
Expected< std::unique_ptr< MemoryBuffer > > operator()(std::unique_ptr< MemoryBuffer > Obj)
Dumps the given buffer to disk.
std::pair< SymbolStringPtr, SymbolLookupFlags > value_type
std::vector< std::pair< JITDylib *, JITDylibLookupFlags > > JITDylibSearchOrder
A list of (JITDylib*, JITDylibLookupFlags) pairs to be used as a search order during symbol lookup.
raw_ostream & operator<<(raw_ostream &OS, const SymbolNameSet &Symbols)
Render a SymbolNameSet.
SymbolLookupFlags
Lookup flags that apply to each symbol in a lookup.
DenseMap< SymbolStringPtr, SymbolAliasMapEntry > SymbolAliasMap
A map of Symbols to (Symbol, Flags) pairs.
JITDylibLookupFlags
Lookup flags that apply to each dylib in the search order for a lookup.
DenseMap< SymbolStringPtr, ExecutorSymbolDef > SymbolMap
A map from symbol names (as SymbolStringPtrs) to JITSymbols (address/flags pairs).
DenseMap< SymbolStringPtr, JITSymbolFlags > SymbolFlagsMap
A map from symbol names (as SymbolStringPtrs) to JITSymbolFlags.
DenseSet< SymbolStringPtr > SymbolNameSet
A set of symbol names (represented by SymbolStringPtrs for.
LookupKind
Describes the kind of lookup being performed.
std::vector< SymbolStringPtr > SymbolNameVector
A vector of symbol names.
SymbolState
Represents the state that a symbol has reached during materialization.
DenseMap< JITDylib *, SymbolNameSet > SymbolDependenceMap
A map from JITDylibs to sets of symbols.
This is an optimization pass for GlobalISel generic memory operations.