diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp index 49234f59b0b..dad02dca531 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp @@ -825,7 +825,10 @@ std::pair RuntimeDyldCheckerImpl::getStubAddrFor( auto StubOffsetItr = SymbolStubs.find(SymbolName); if (StubOffsetItr == SymbolStubs.end()) return std::make_pair(0, - ("Symbol '" + SymbolName + "' not found.\n").str()); + ("Stub for symbol '" + SymbolName + "' not found. " + "If '" + SymbolName + "' is an internal symbol this " + "may indicate that the stub target offset is being " + "computed incorrectly.\n").str()); uint64_t StubOffset = StubOffsetItr->second;