Print the method that makes an instruction invalid

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-11-08 19:29:51 +00:00
parent 226f1f0b22
commit 837bb2ce96

View File

@ -62,7 +62,7 @@ bool FindUnsafePointerTypes::doPerMethodWork(Method *Meth) {
if (PrintFailures) {
CachedWriter CW(M->getParent(), cerr);
CW << "FindUnsafePointerTypes: Type '" << ITy
<< "' marked unsafe by:\n" << Inst;
<< "' marked unsafe in '" << Meth->getName() << "' by:\n" << Inst;
}
}
}