aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/PassManagerT.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h
index d5c483f752..d990d89f5a 100644
--- a/lib/VMCore/PassManagerT.h
+++ b/lib/VMCore/PassManagerT.h
@@ -216,7 +216,8 @@ public:
// parent that we (the passmanager) are using the analysis so that it
// frees the analysis AFTER this pass manager runs.
//
- assert(Parent != 0 && "Pass available but not found!");
+ assert(Parent != 0 && "Pass available but not found! "
+ "Did your analysis pass 'Provide' itself?");
Parent->markPassUsed(P, this);
}
}