[LLVMdev] CallGraphSCC
Ryan Taylor
ryta1203 at gmail.com
Wed Oct 19 10:33:47 PDT 2011
Hello,
I want to access the instructions via:
CallGraph->CallGraphNode->Function->BB->Instruction
Is this possible?
Right now, I'm iterating over the CallGraph Nodes via CallGraphSCC:iterator,
but then I have to cast that iterator to a CallGraphNode const and then when
I call CallGraphNode->getFunction, it returns a valid function but seg
faults on function->getName()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111019/408766ae/attachment.html>
More information about the llvm-dev
mailing list