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 1717 <http://www.gnu.org/licenses/>.
1818*/
1919
20- #include <stdio.h>
21-
22- extern const char * name ;
23-
2420void foo ()
2521{
26- printf ("hello %s\n" , name );
2722}
2823
2924void bar (void )
Original file line number Diff line number Diff line change @@ -56,15 +56,6 @@ class CallgraphEdge(__builtin__.object)
5656 | __new__ = <built-in method __new__ of gcc.WrapperMeta object>
5757 | T.__new__(S, ...) -> a new object with type S, a subtype of T
5858
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);
6859cgn:
6960 cgn.decl: gcc.FunctionDecl('baz')
7061 cgn.decl.location.in_system_header: False
9182 cgn.decl: gcc.FunctionDecl('foo')
9283 cgn.decl.location.in_system_header: False
9384 cgn.callers: [gcc.CallgraphEdge(), gcc.CallgraphEdge(), gcc.CallgraphEdge()]
94- cgn.callees: [gcc.CallgraphEdge() ]
85+ cgn.callees: []
9586gcc.CallgraphEdge()
9687e.caller: gcc.CallgraphNode()
9788e.callee: gcc.CallgraphNode()
You can’t perform that action at this time.
0 commit comments