Developing LLVM passes out of source
cd hello-pass
mkdir build
cd build
cmake ../
opt -load ./hello/HelloPass.so -hello < ../../tmp/main.bc
opt -load ./hello/HelloPass.so -hello -disable-output < ../../tmp/main.bc
Developing LLVM passes out of source
cd hello-pass
mkdir build
cd build
cmake ../
opt -load ./hello/HelloPass.so -hello < ../../tmp/main.bc
opt -load ./hello/HelloPass.so -hello -disable-output < ../../tmp/main.bc