diff --git a/lib/vast/Conversion/Core/Passes.cpp b/lib/vast/Conversion/Core/Passes.cpp index 6cd326228f..34201f770a 100644 --- a/lib/vast/Conversion/Core/Passes.cpp +++ b/lib/vast/Conversion/Core/Passes.cpp @@ -18,7 +18,7 @@ namespace vast::conv::pipeline { // This is necessary to have line tables emitted and basic debugger // working. In the future we will add proper debug information emission // directly from our frontend. - return nested< mlir::LLVM::LLVMFuncOp >(mlir::LLVM::createDIScopeForLLVMFuncOpPass) + return nested< vast_module >(mlir::LLVM::createDIScopeForLLVMFuncOpPass) .depends_on(core_to_llvm); }