[PATCH] [CallGraph] Teach the CallGraph about non-leaf intrinsics.
sanjoy at playingwithpointers.com
Wed Jun 17 17:50:29 PDT 2015
Hi reames, chandlerc, atrick, pgavlin,
Currently intrinsics don't affect the creation of the call graph.
This is not accurate with respect to statepoint and patchpoint
intrinsics -- these do call (or invoke) LLVM level functions.
This change fixes this inconsistency by adding a call to the external
node for call sites that call these non-leaf intrinsics. This coupled
with the fact that these intrinsics also escape the function pointer
they call gives us a conservatively correct call graph.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5587 bytes
Desc: not available
More information about the llvm-commits