Print which passes are used in -O1, -O2, -O3...
opt -O2 -debug-pass=Arguments foo.ll -S -o bar.ll
Show control flow graph using opt
, spawning a new background task.
opt -view-cfg -view-background foo.ll
Debugging mit gdb
Print which passes are used in -O1, -O2, -O3...
opt -O2 -debug-pass=Arguments foo.ll -S -o bar.ll
Show control flow graph using opt
, spawning a new background task.
opt -view-cfg -view-background foo.ll
Debugging mit gdb