Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/safeCalls.dot
T
2020-06-19 15:53:00 +03:00

105 lines
2.9 KiB
Plaintext
Vendored

digraph safeCalls_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
1 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
subgraph cluster_1 {
color=red
2 [label="Enter function bar" style="filled" fillcolor=red];
3 [label="Exit function bar" style="filled" fillcolor=red];
}
2 -> {3};
subgraph cluster_2 {
color=red
5 [label="Enter class A" style="filled" fillcolor=red];
4 [label="Exit class A" style="filled" fillcolor=red];
}
5 -> {4} [color=green];
subgraph cluster_3 {
color=red
6 [label="Enter function getter" style="filled" fillcolor=red];
7 [label="Exit function getter" style="filled" fillcolor=red];
}
6 -> {7};
subgraph cluster_4 {
color=red
8 [label="Enter function getter" style="filled" fillcolor=red];
9 [label="Exit function getter" style="filled" fillcolor=red];
}
8 -> {9};
subgraph cluster_5 {
color=red
11 [label="Enter class B" style="filled" fillcolor=red];
10 [label="Exit class B" style="filled" fillcolor=red];
}
11 -> {10} [color=green];
subgraph cluster_6 {
color=red
12 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
14 [label="Enter block"];
15 [label="Access variable R|<local>/x|"];
16 [label="Enter safe call"];
18 [label="Function call: $subj$.R|/A.foo|()"];
17 [label="Exit safe call"];
19 [label="Enter safe call"];
21 [label="Function call: $subj$.R|/A.bar|()"];
20 [label="Exit safe call"];
22 [label="Exit block"];
}
13 [label="Exit function test_1" style="filled" fillcolor=red];
}
12 -> {14};
14 -> {15};
15 -> {16 17};
16 -> {18};
17 -> {19 20};
18 -> {17};
19 -> {21};
20 -> {22};
21 -> {20};
22 -> {13};
subgraph cluster_8 {
color=red
23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
25 [label="Enter block"];
26 [label="Access variable R|<local>/x|"];
27 [label="Enter safe call"];
29 [label="Access variable R|/B.foo|"];
28 [label="Exit safe call"];
30 [label="Enter safe call"];
32 [label="Access variable R|/B.bar|"];
31 [label="Exit safe call"];
33 [label="Exit block"];
}
24 [label="Exit function test_2" style="filled" fillcolor=red];
}
23 -> {25};
25 -> {26};
26 -> {27 28};
27 -> {29};
28 -> {30 31};
29 -> {28};
30 -> {32};
31 -> {33};
32 -> {31};
33 -> {24};
}