[Mlir-commits] [mlir] [mlir][llvm] support DICompileUnit source language dialect (PR #214301)
Aman LaChapelle
llvmlistbot at llvm.org
Wed Aug 5 12:51:40 PDT 2026
================
@@ -356,11 +356,25 @@ MlirAttribute mlirLLVMDICompileUnitAttrGet(
bool isDebugInfoForProfiling, MlirLLVMDINameTableKind nameTableKind,
MlirAttribute splitDebugFilename, intptr_t nImportedEntities,
MlirAttribute const *importedEntities) {
+ return mlirLLVMDICompileUnitAttrGetWithSourceLanguageDialect(
+ ctx, recId, isRecSelf, id, sourceLanguage,
+ /*sourceLanguageDialect=*/0, file, producer, isOptimized, emissionKind,
----------------
bzcheeseman wrote:
supernit: you can probably include and use the enum in .cpp files here and below
https://github.com/llvm/llvm-project/pull/214301
More information about the Mlir-commits
mailing list