[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)

Tobias Gysi llvmlistbot at llvm.org
Sat Nov 25 11:14:33 PST 2023


================
@@ -23,15 +23,24 @@
 namespace mlir {
 namespace LLVM {
 
-/// This class represents the base attribute for all debug info attributes.
-class DINodeAttr : public Attribute {
+/// This class represents the base attribute for all metadata attributes.
+class MDNodeAttr : public Attribute {
----------------
gysit wrote:

Maybe give other reviewers a chance to comment before changing. I would say if the base class (MDNode) is not really used as a polymorphic field in another debug node then having a separate function makes sense.

https://github.com/llvm/llvm-project/pull/73367


More information about the Mlir-commits mailing list