File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 17
17
<http://www.gnu.org/licenses/>.
18
18
*/
19
19
20
- #include <stdio.h>
21
-
22
- extern const char * name ;
23
-
24
20
void foo ()
25
21
{
26
- printf ("hello %s\n" , name );
27
22
}
28
23
29
24
void bar (void )
Original file line number Diff line number Diff line change @@ -56,15 +56,6 @@ class CallgraphEdge(__builtin__.object)
56
56
| __new__ = <built-in method __new__ of gcc.WrapperMeta object>
57
57
| T.__new__(S, ...) -> a new object with type S, a subtype of T
58
58
59
- cgn:
60
- cgn.decl: gcc.FunctionDecl('printf')
61
- cgn.decl.location.in_system_header: True
62
- cgn.callers: [gcc.CallgraphEdge()]
63
- cgn.callees: []
64
- gcc.CallgraphEdge()
65
- e.caller: gcc.CallgraphNode()
66
- e.callee: gcc.CallgraphNode()
67
- e.call_stmt: gcc.GimpleCall() printf ("hello %s\n", name.0);
68
59
cgn:
69
60
cgn.decl: gcc.FunctionDecl('baz')
70
61
cgn.decl.location.in_system_header: False
91
82
cgn.decl: gcc.FunctionDecl('foo')
92
83
cgn.decl.location.in_system_header: False
93
84
cgn.callers: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
94
- cgn.callees: [gcc.CallgraphEdge() ]
85
+ cgn.callees: []
95
86
gcc.CallgraphEdge()
96
87
e.caller: gcc.CallgraphNode()
97
88
e.callee: gcc.CallgraphNode()
You can’t perform that action at this time.
0 commit comments