A LLVM Pass to Detect Memory Leak LLVM is extensible. I’ll show you how to write a pass and detect memory leak in C++ application.