http://gcc.fyxm.net/summit/2004/GCC%20Call%20Graph.pdf

For the RTL representation, there are two type of function call instructions as I understand.
1) direct call---this type of calls are shown with something like
(call (mem:QI (symbol_ref:SI ("bar") [flags 0x3] <function_decl 0xb72bf8dc bar>) [0 S1 A8])
And the corresponding source code is something like "bar();" in C.

2) indirect call (explained in 3.1 in the above paper)
Can someone help me explain this a bit? --what the corresponding code is in C, and what causes it to happen? What does the RTL code look like?

Thanks,

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to