================ @@ -15,6 +15,7 @@ #include "llvm/IR/Instructions.h" #include "llvm/IR/Module.h" #include "llvm/Pass.h" +#include "llvm/Support/ErrorHandling.h" ---------------- Icohedron wrote: Yea it is for the unreachable https://github.com/llvm/llvm-project/pull/139173