6

Does anyone from LLVM community know if there is a way to generate CFG for the whole input source code using opt -dot-cfg foo.ll(.bc) ? as this one generates the CFG per function thus the connections between functions will be ignored.

It seems that the older analyze tool has depreciated.

Amir
  • 1,348
  • 3
  • 21
  • 44

1 Answers1

2

I wonder if you found any way to get interprocedural CFG. I found that inlining call functions by other inliner passes might be helpful but I couldn't be able to get it to work yet. I've posted this Finding all possible paths in a c/c++ program by LLVM

Community
  • 1
  • 1
Nhome
  • 303
  • 2
  • 3
  • 12