[Mlir-commits] [mlir] [mlir][debug] Handle DIImportedEntity. (PR #103055)
Tobias Gysi
llvmlistbot at llvm.org
Mon Aug 19 09:54:08 PDT 2024
================
@@ -223,11 +238,18 @@ DISubprogramAttr DebugImporter::translateImpl(llvm::DISubprogram *node) {
DISubroutineTypeAttr type = translate(node->getType());
if (node->getType() && !type)
return nullptr;
+
+ SmallVector<DINodeAttr> retainedNodes;
+
+ for (auto node : node->getRetainedNodes())
----------------
gysit wrote:
```suggestion
SmallVector<DINodeAttr> retainedNodes;
for (auto node : node->getRetainedNodes())
```
https://github.com/llvm/llvm-project/pull/103055
More information about the Mlir-commits
mailing list