Skip to content

Commit aaf026b

Browse files
AlexVlxjsji
authored andcommitted
Adapt to change introduced by #122928 in upstream. (#2965)
Original commit: KhronosGroup/SPIRV-LLVM-Translator@3c4e7607696f195
1 parent 45da762 commit aaf026b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-spirv/lib/SPIRV/SPIRVToLLVMDbgTran.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ DIType *SPIRVToLLVMDbgTran::transTypePointer(const SPIRVExtInst *DebugInst) {
330330
PointeeTy, BM->getAddressingModel() * 32, 0, AS);
331331

332332
if (Flags & SPIRVDebug::FlagIsObjectPointer)
333-
Ty = getDIBuilder(DebugInst).createObjectPointerType(Ty, true);
333+
Ty = getDIBuilder(DebugInst).createObjectPointerType(Ty, /*Implicit=*/true);
334334
else if (Flags & SPIRVDebug::FlagIsArtificial)
335335
Ty = getDIBuilder(DebugInst).createArtificialType(Ty);
336336

0 commit comments

Comments
 (0)