We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7a4715 commit 5e653f9Copy full SHA for 5e653f9
lib/SPIRV/LLVMToSPIRVDbgTran.cpp
@@ -587,8 +587,8 @@ SPIRVEntry *LLVMToSPIRVDbgTran::transDbgCompileUnit(const DICompileUnit *CU) {
587
if (isNonSemanticDebugInfo())
588
generateBuildIdentifierAndStoragePath(CU);
589
590
- auto DwarfLang = static_cast<llvm::dwarf::SourceLanguage>(
591
- CU->getSourceLanguage().getUnversionedName());
+ auto DwarfLang =
+ static_cast<llvm::dwarf::SourceLanguage>(CU->getSourceLanguage());
592
Ops[LanguageIdx] =
593
BM->getDebugInfoEIS() == SPIRVEIS_NonSemantic_Shader_DebugInfo_200
594
? convertDWARFSourceLangToSPIRVNonSemanticDbgInfo(DwarfLang)
0 commit comments