We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c63c68 commit d6630edCopy full SHA for d6630ed
examples/show-callgraph.py
@@ -22,6 +22,12 @@
22
23
def on_pass_execution(p, fn):
24
if p.name == '*free_lang_data':
25
+ # The '*free_lang_data' pass is called once, rather than per-function,
26
+ # and occurs immediately after "*build_cgraph_edges", which is the
27
+ # pass that initially builds the callgraph
28
+ #
29
+ # So at this point we're likely to get a good view of the callgraph
30
+ # before further optimization passes manipulate it:
31
dot = callgraph_to_dot()
32
invoke_dot(dot)
33
0 commit comments