Permit CallGraphSCCPasses readonly access to the direct callers of the functions
authorNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 04:01:44 +0000 (04:01 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 3 Jan 2011 04:01:44 +0000 (04:01 +0000)
in their SCC as they already have with the direct callees.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122734 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index d0aeeec1fc1eb29c35c6dca9b2c4abd7821891c8..357b585b51026196b5ae505bd8f2cc6c3392465c 100644 (file)
@@ -562,8 +562,8 @@ href="#BasicBlockPass">BasicBlockPass</a></tt>, you should derive from
 <li>... <em>not allowed</em> to modify any <tt>Function</tt>s that are not in
 the current SCC.</li>
 
-<li>... <em>not allowed</em> to inspect any Function's other than those in the
-current SCC and the direct callees of the SCC.</li>
+<li>... <em>not allowed</em> to inspect any <tt>Function</tt>s other than those
+in the current SCC and the direct callers and direct callees of the SCC.</li>
 
 <li>... <em>required</em> to preserve the current CallGraph object, updating it
 to reflect any changes made to the program.</li>