[Mlir-commits] [mlir] [mlir][debug] Handle DIImportedEntity. (PR #103055)
Tobias Gysi
llvmlistbot at llvm.org
Mon Aug 19 09:54:08 PDT 2024
================
@@ -306,6 +306,18 @@ llvm::DISubprogram *DebugTranslation::translateImpl(DISubprogramAttr attr) {
static_cast<llvm::DISubprogram::DISPFlags>(attr.getSubprogramFlags()),
compileUnit);
+ SmallVector<llvm::Metadata *> retainedNodes;
+
+ for (auto nodeAttr : attr.getRetainedNodes()) {
+ if (DIImportedEntityAttr importedAttr =
----------------
gysit wrote:
```suggestion
if (auto importedAttr =
```
https://github.com/llvm/llvm-project/pull/103055
More information about the Mlir-commits
mailing list