search for: dealatindirectcall

Displaying 2 results from an estimated 2 matches for "dealatindirectcall".

Did you mean: dealatdirectcall
2010 Nov 30
2
[LLVMdev] the called function equal NULL
...are following statements that I couldn't understand: -------------------------------program---------------------------------------------------- ... if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) { const CallSite cs(inst); if (cs.getCalledFunction() == NULL) return dealAtIndirectCall(cs); else return dealAtDirectCall(cs); } ... ------------------------------------------------------------------------------------------- My question is: When does the called function equal NULL, could you give an example? I mean what kind of call in source code could change to this cas...
2010 Nov 30
0
[LLVMdev] the called function equal NULL
...ldn't understand: > > -------------------------------program---------------------------------------------------- > ... > if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) { > const CallSite cs(inst); > if (cs.getCalledFunction() == NULL) > return dealAtIndirectCall(cs); > else > return dealAtDirectCall(cs); > } > ... > ------------------------------------------------------------------------------------------- > > My question is: > > When does the called function equal NULL, could you give an example? I mean what kind...