Skip to content

Commit 7d34cac

Browse files
committed
Fix MLIR build
1 parent a251525 commit 7d34cac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlir/lib/Target/LLVMIR/DebugTranslation.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ llvm::DIFile *DebugTranslation::translateImpl(DIFileAttr attr) {
221221
llvm::DILabel *DebugTranslation::translateImpl(DILabelAttr attr) {
222222
return llvm::DILabel::get(llvmCtx, translate(attr.getScope()),
223223
getMDStringOrNull(attr.getName()),
224-
translate(attr.getFile()), attr.getLine());
224+
translate(attr.getFile()), attr.getLine(),
225+
/*Column=*/0, /*IsArtificial=*/true,
226+
/*CoroSuspendIdx=*/std::nullopt);
225227
}
226228

227229
llvm::DILexicalBlock *DebugTranslation::translateImpl(DILexicalBlockAttr attr) {

0 commit comments

Comments
 (0)