summaryrefslogtreecommitdiff
path: root/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-08 19:29:51 +0000
committerChris Lattner <sabre@nondot.org>2001-11-08 19:29:51 +0000
commit837bb2ce96f6c812bec6d0bdc9726bcb7fa8e850 (patch)
treeb38b803f6ddc55bc396986cc79e0d1ebb56db611 /lib/Analysis/IPA/FindUnsafePointerTypes.cpp
parent226f1f0b22853a879d142b848fa22e407efc9bd8 (diff)
downloadllvm-837bb2ce96f6c812bec6d0bdc9726bcb7fa8e850.tar.gz
llvm-837bb2ce96f6c812bec6d0bdc9726bcb7fa8e850.tar.bz2
llvm-837bb2ce96f6c812bec6d0bdc9726bcb7fa8e850.tar.xz
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
Diffstat (limited to 'lib/Analysis/IPA/FindUnsafePointerTypes.cpp')
-rw-r--r--lib/Analysis/IPA/FindUnsafePointerTypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
index 48e474f6b2..d47e1d7f6a 100644
--- a/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
+++ b/lib/Analysis/IPA/FindUnsafePointerTypes.cpp
@@ -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;
}
}
}