Clarify limitations of a ModulePass requiring a FunctionPass.
authorDevang Patel <dpatel@apple.com>
Mon, 10 Aug 2009 16:37:29 +0000 (16:37 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 10 Aug 2009 16:37:29 +0000 (16:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78566 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index b8ac9e910494d77033a2dccbe654e41dc4c830b9..ed6b4d662a1ba082ad25b9c5a724695f76fc67e0 100644 (file)
@@ -497,7 +497,7 @@ subclasses, no optimization can be done for their execution.</p>
 the getAnalysis interface
 <tt>getAnalysis&lt;DominatorTree&gt;(llvm::Function *)</tt> 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.</p>