We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a62e3e commit 3f8d7edCopy full SHA for 3f8d7ed
llvm-spirv/lib/SPIRV/LLVMToSPIRVDbgTran.cpp
@@ -359,6 +359,9 @@ SPIRVEntry *LLVMToSPIRVDbgTran::transDbgEntryImpl(const MDNode *MDN) {
359
return transDbgLocalVariable(LV);
360
if (const DIGlobalVariable *GV = dyn_cast<DIGlobalVariable>(DIEntry))
361
return transDbgGlobalVariable(GV);
362
+ if (const DIDerivedType *MT = dyn_cast<DIDerivedType>(DIEntry))
363
+ if (MT->isStaticMember())
364
+ return transDbgMemberType(MT);
365
llvm_unreachable("Unxpected debug info type for variable");
366
case dwarf::DW_TAG_formal_parameter:
367
return transDbgLocalVariable(cast<DILocalVariable>(DIEntry));
0 commit comments