diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp index 06c195a34f59..ce3df8a783fb 100644 --- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -887,6 +887,8 @@ bool JITEmitter::finishFunction(MachineFunction &F) { if (!MR.letTargetResolve()) { if (MR.isString()) { ResultPtr = TheJIT->getPointerToNamedFunction(MR.getString()); + DOUT << "JIT: Map \'" << MR.getString() << "\' to [" + << ResultPtr << "]\n"; // If the target REALLY wants a stub for this function, emit it now. if (!MR.doesntNeedStub())