We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b12cb1c commit daba8b2Copy full SHA for daba8b2
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