[Mlir-commits] [mlir] [mlir][debug] Handle DIImportedEntity. (PR #103055)
Tobias Gysi
llvmlistbot at llvm.org
Mon Aug 19 09:54:08 PDT 2024
================
@@ -208,6 +208,21 @@ DINamespaceAttr DebugImporter::translateImpl(llvm::DINamespace *node) {
node->getExportSymbols());
}
+DIImportedEntityAttr
+DebugImporter::translateImpl(llvm::DIImportedEntity *node) {
+ SmallVector<DINodeAttr> elements;
+
+ for (llvm::DINode *element : node->getElements()) {
----------------
gysit wrote:
```suggestion
SmallVector<DINodeAttr> elements;
for (llvm::DINode *element : node->getElements()) {
```
https://github.com/llvm/llvm-project/pull/103055
More information about the Mlir-commits
mailing list