Skip to content

Commit 06a0bc4

Browse files
committed
[MLIR] Fix llvm::DIDerivedType::get call (new argument PtrAuthData proposed)
1 parent 32e43df commit 06a0bc4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Target/LLVMIR/DebugTranslation.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ llvm::DIDerivedType *DebugTranslation::translateImpl(DIDerivedTypeAttr attr) {
150150
/*File=*/nullptr, /*Line=*/0,
151151
/*Scope=*/nullptr, translate(attr.getBaseType()), attr.getSizeInBits(),
152152
attr.getAlignInBits(), attr.getOffsetInBits(),
153-
/*DWARFAddressSpace=*/std::nullopt, /*Flags=*/llvm::DINode::FlagZero);
153+
/*DWARFAddressSpace=*/std::nullopt, /*PtrAuthData=*/std::nullopt,
154+
/*Flags=*/llvm::DINode::FlagZero);
154155
}
155156

156157
llvm::DIFile *DebugTranslation::translateImpl(DIFileAttr attr) {

0 commit comments

Comments
 (0)