Displaying 2 results from an estimated 2 matches similar to: "[LLVMdev] problem using scc_iterator on CallGraph"
2006 Dec 04
0
[LLVMdev] problem using scc_iterator on CallGraph
On Sun, 3 Dec 2006, Ryan M. Lefever wrote:
> I am working on a transform that uses an scc_iterator on a program's
> CallGraph. However, I am running into a problem in which not all
> callees are being processed before callers, leading me to believe there
> might be a bug. In particular, this is happening in a case where a
> callee is a function pointer. I ran bugpoint and
2006 Dec 04
1
[LLVMdev] problem using scc_iterator on CallGraph
I printed the call graph as you suggested. The bugpoint bytecode that I
sent below prints the following call graph:
Indirect call node
/ | | \
/ | | \
V | V V
execute | prog_char clear_func
| |
V V
push_constant
|
V
Node0x8d7b370
i.e.,
Indirect call node -> execute