When trying to generate the callgraph of a simple .ll file (from a .c / .swift file) I get the following error : unknown pass name 'dot-callgraph'
$ opt-13 --dot-callgraph fibo_c.ll
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.
opt-13: unknown pass name 'dot-callgraph'
When trying to generate the callgraph of a simple .ll file (from a .c / .swift file) I get the following error : unknown pass name 'dot-callgraph'
I'm using LLVM 13.0.1 from the llvm apt repo
Edit : According the the documentation https://releases.llvm.org/13.0.1/docs/Passes.html this pass should exist.