Go to the documentation of this file.
13 #ifndef LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H
14 #define LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H
33 raw_ostream &
operator<<(raw_ostream &OS,
const SymbolStringPtr &Sym);
42 raw_ostream &
operator<<(raw_ostream &OS, ArrayRef<SymbolStringPtr> Symbols);
45 raw_ostream &
operator<<(raw_ostream &OS,
const JITSymbolFlags &Flags);
67 raw_ostream &
operator<<(raw_ostream &OS,
const MaterializationUnit &MU);
80 raw_ostream &
operator<<(raw_ostream &OS,
const SymbolLookupSet &LookupSet);
96 raw_ostream &
operator<<(raw_ostream &OS,
const SymbolStringPool &SSP);
115 DumpObjects(std::string DumpDir =
"", std::string IdentifierOverride =
"");
119 operator()(std::unique_ptr<MemoryBuffer> Obj);
124 std::string IdentifierOverride;
130 #endif // LLVM_EXECUTIONENGINE_ORC_DEBUGUTILS_H
raw_ostream & operator<<(raw_ostream &OS, const SymbolStringPtr &Sym)
Render a SymbolStringPtr.
This is an optimization pass for GlobalISel generic memory operations.
DumpObjects(std::string DumpDir="", std::string IdentifierOverride="")
Construct a DumpObjects transform that will dump objects to disk.
Expected< std::unique_ptr< MemoryBuffer > > operator()(std::unique_ptr< MemoryBuffer > Obj)
Dumps the given buffer to disk.
Tagged union holding either a T or a Error.
LookupKind
Describes the kind of lookup being performed.
This interface provides simple read-only access to a block of memory, and provides simple methods for...
SymbolState
Represents the state that a symbol has reached during materialization.
SymbolLookupFlags
Lookup flags that apply to each symbol in a lookup.
DenseMap< SymbolStringPtr, JITEvaluatedSymbol > SymbolMap
A map from symbol names (as SymbolStringPtrs) to JITSymbols (address/flags pairs).
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
DenseMap< SymbolStringPtr, SymbolAliasMapEntry > SymbolAliasMap
A map of Symbols to (Symbol, Flags) pairs.
std::pair< SymbolStringPtr, SymbolLookupFlags > value_type
llvm::detail::DenseMapPair< SymbolStringPtr, JITSymbolFlags > 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.
A function object that can be used as an ObjectTransformLayer transform to dump object files to disk ...
StringRef - Represent a constant reference to a string, i.e.
add sub stmia L5 ldr r0 bl L_printf $stub Instead of a and a wouldn t it be better to do three moves *Return an aggregate type is even return S
DenseMap< JITDylib *, SymbolNameSet > SymbolDependenceMap
A map from JITDylibs to sets of symbols.
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.
JITDylibLookupFlags
Lookup flags that apply to each dylib in the search order for a lookup.
std::vector< SymbolStringPtr > SymbolNameVector
A vector of symbol names.