Currently, the pass always gets compiled with rtti disabled. This leads to compilation errors when LLVM is built with rtti.