forked from OSchip/llvm-project
Clarify limitations of a ModulePass requiring a FunctionPass.
llvm-svn: 78566
This commit is contained in:
parent
2587b61533
commit
714612b1eb
|
@ -497,7 +497,7 @@ subclasses, no optimization can be done for their execution.</p>
|
|||
the getAnalysis interface
|
||||
<tt>getAnalysis<DominatorTree>(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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue