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
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.