search for: dealatdirectcall

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

Did you mean: dealatindirectcall
2010 Nov 30
2
[LLVMdev] the called function equal NULL
...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 case in llvm-IR, could you give an example? Th...
2010 Nov 30
0
[LLVMdev] the called function equal NULL
...---------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 case in ll...