cl::desc("Inject absolute symbol definitions (syntax: <name>=<addr>)"),
cl::ZeroOrMore);
+static cl::opt<bool> ShowInitialExecutionSessionState(
+ "show-init-es",
+ cl::desc("Print ExecutionSession state before resolving entry point"),
+ cl::init(false));
+
static cl::opt<bool> ShowAddrs(
"show-addrs",
cl::desc("Print registered symbol, section, got and stub addresses"),
ExitOnErr(loadProcessSymbols(*S));
ExitOnErr(loadDylibs());
-
{
TimeRegion TR(Timers ? &Timers->LoadObjectsTimer : nullptr);
ExitOnErr(loadObjects(*S));
}
+ if (ShowInitialExecutionSessionState)
+ S->ES.dump(outs());
+
JITEvaluatedSymbol EntryPoint = 0;
{
TimeRegion TR(Timers ? &Timers->LinkTimer : nullptr);