[Mlir-commits] [mlir] [MLIR][LLVM] Support Recursive DITypes (PR #80251)
Tobias Gysi
llvmlistbot at llvm.org
Thu Feb 29 12:07:05 PST 2024
================
@@ -102,6 +116,14 @@ class DebugTranslation {
/// metadata.
DenseMap<Attribute, llvm::DINode *> attrToNode;
+ /// A mapping from DIRecursiveTypeAttr id to the translated DIType.
+ llvm::MapVector<DistinctAttr, llvm::DIType *> recursiveTypeMap;
+
+ /// A mapping between distinct ID attr for DI nodes that require distinction
+ /// and the translate LLVM metadata node. This helps identify attrs that
+ /// should translate into the same LLVM debug node.
----------------
gysit wrote:
```suggestion
/// A mapping between DistinctAttr ID
/// and the translate distinct LLVM metadata node. This helps identify attrs that
/// should translate into the same LLVM debug node.
```
https://github.com/llvm/llvm-project/pull/80251
More information about the Mlir-commits
mailing list