This is a dynamic LLVM Pass which is to give the basicblocks id and profile the ids.
-
create a folder by
mkdir build
-
cd the build folder and build it:
cd build && cmake ../
-
make the project:
make
opt -load /the/path/of/libCFGPass.so -CFG /the/path/of/llvm/IR/file
then there are the outputs.