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

Christian Ulmann llvmlistbot at llvm.org
Wed Nov 29 00:53:41 PST 2023


================
@@ -447,6 +465,39 @@ def LLVM_DILocalVariableAttr : LLVM_Attr<"DILocalVariable", "di_local_variable",
   let assemblyFormat = "`<` struct(params) `>`";
 }
 
+//===----------------------------------------------------------------------===//
+// DIGlobalVariableExpressionAttr
+//===----------------------------------------------------------------------===//
+
+def LLVM_DIGlobalVariableExpressionAttr : LLVM_Attr<"DIGlobalVariableExpression", "di_global_variable_expression",
----------------
Dinistro wrote:

Nit: Can you constrain this to 80 characters per line, similar to what applies to the C++ files.
The same applies to the changes above.

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


More information about the Mlir-commits mailing list