diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp index dea91c26e8516..e432d9a3d222e 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp @@ -3116,8 +3116,7 @@ Instruction *InstCombinerImpl::visitCallBase(CallBase &Call) { if (FunctionType && FunctionType->getZExtValue() != ExpectedType->getZExtValue()) - dbgs() << Call.getModule()->getName() << ":" - << Call.getDebugLoc().getLine() + dbgs() << Call.getModule()->getName() << ": warning: kcfi: " << Call.getCaller()->getName() << ": call to " << CalleeF->getName() << " using a mismatching function pointer type\n";