================ @@ -19,6 +19,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Instruction.h" +#include "llvm/IR/Module.h" ---------------- nikic wrote: Should be a forward-declare. https://github.com/llvm/llvm-project/pull/99439