Saman Zonouz
2009-Jul-24 13:19 UTC
[LLVMdev] how to get Callgraph from a bunch of .bc files?
Dear All, The problem I have is to how to get the callgraph for the whole application given .bc file of each source file? using opt as "opt -dot-callgraph main.bc" gives a single callGraph for main.bc but how can I generate a CallGraph that includes all functions in all the .bc files? Thanks, ::Saman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090724/41f31700/attachment.html>
Duncan Sands
2009-Jul-24 13:54 UTC
[LLVMdev] how to get Callgraph from a bunch of .bc files?
Hi Saman,> The problem I have is to how to get the callgraph for the whole > application given .bc file of each source file? using opt as "opt > -dot-callgraph main.bc" gives a single callGraph for main.bc but how can > I generate a CallGraph that includes all functions in all the .bc files?link the .bc files together into one mega .bc file using llvm-link. Ciao, Duncan.