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 43fb2df commit 314f988Copy full SHA for 314f988
llvm-spirv/lib/SPIRV/LLVMToSPIRVDbgTran.cpp
@@ -587,8 +587,8 @@ SPIRVEntry *LLVMToSPIRVDbgTran::transDbgCompileUnit(const DICompileUnit *CU) {
587
if (isNonSemanticDebugInfo())
588
generateBuildIdentifierAndStoragePath(CU);
589
590
- auto DwarfLang =
591
- static_cast<llvm::dwarf::SourceLanguage>(CU->getSourceLanguage());
+ auto DwarfLang = static_cast<llvm::dwarf::SourceLanguage>(
+ CU->getSourceLanguage().getUnversionedName());
592
Ops[LanguageIdx] =
593
BM->getDebugInfoEIS() == SPIRVEIS_NonSemantic_Shader_DebugInfo_200
594
? convertDWARFSourceLangToSPIRVNonSemanticDbgInfo(DwarfLang)
0 commit comments