[LLVMdev] call graph not complete
sanjiv.gupta at microchip.com
Thu Jan 21 11:03:15 PST 2010
Duncan Sands wrote:
>> Bitcode generated by llvm-ld with –disable-opt and –basiccg options is:
>> My point is why is the call to foo not resolved correctly in llvm-ld.
> Resolving an call to a direct call is an optimization. But you turned all
> optimizations off.
BTW, why do clang generates an indirect call in the first place for the
program given in the original post? Does c99 tell us to generate an
indirect call when the prototype is like this
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev