call-tracer

LLVM based Call graph generator

  1. Run
  2. cmake ./
  3. make
  4. clang -O0 -S -emit-llvm data/test.c -o test.ll
  5. opt -load MyFunctionPass/libMyFunctionPass.so -CGPass test.ll

(CMake out-of-tree build will be done after I figure out what LLVM is doing)