From 468857f22f1ec0e18d48c0c33b82cd31bb3c6574 Mon Sep 17 00:00:00 2001
From: Devang Patel
Date: Mon, 10 Aug 2009 16:37:29 +0000
Subject: Clarify limitations of a ModulePass requiring a FunctionPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78566 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/WritingAnLLVMPass.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'docs')
diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html
index b8ac9e9104..ed6b4d662a 100644
--- a/docs/WritingAnLLVMPass.html
+++ b/docs/WritingAnLLVMPass.html
@@ -497,7 +497,7 @@ subclasses, no optimization can be done for their execution.
the getAnalysis interface
getAnalysis<DominatorTree>(llvm::Function *) to provide the
function to retrieve analysis result for, if the function pass does not require
-any module passes. Note that this can only be done for functions for which the
+any module or immutable passes. Note that this can only be done for functions for which the
analysis ran, e.g. in the case of dominators you should only ask for the
DominatorTree for function definitions, not declarations.
--
cgit v1.2.3