This pass print function names
.
├── CMakeLists.txt
└── easypass
├── CMakeLists.txt
└── easypass.cpp
install llvm into your system
mkdir build & cd build
cmake ..
make
you will get easypass/libeasypass.so
opt -load easypass/libeasypass.so -easypass hoge.ll > /dev/null
Function name : main
...