[Mlir-commits] [mlir] [MLIR][LLVM] Support DWARF v6 source language names in DICompileUnitAttr (PR #217432)
Gibran Essa
llvmlistbot at llvm.org
Thu Aug 20 10:59:27 PDT 2026
================
@@ -139,11 +139,15 @@ llvm::DIBasicType *DebugTranslation::translateImpl(DIBasicTypeAttr attr) {
}
static llvm::DISourceLanguageName getSourceLanguage(DICompileUnitAttr attr) {
- // DISourceLanguageName represents "no source-language dialect" as 0; the
- // LLVM IR printer omits the `dialect:` field for that value.
+ DISourceLanguageNameAttr sourceLanguage = attr.getSourceLanguage();
+ if (sourceLanguage.getName())
----------------
gibwrong wrote:
added!
https://github.com/llvm/llvm-project/pull/217432
More information about the Mlir-commits
mailing list