[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)
Tobias Gysi
llvmlistbot at llvm.org
Thu Nov 30 23:46:53 PST 2023
================
@@ -35,6 +35,13 @@ class DebugImporter {
/// Translates the given LLVM debug location to an MLIR location.
Location translateLoc(llvm::DILocation *loc);
+ /// Translate the LLVM DWARF expression metadata to MLIR.
+ DIExpressionAttr translateExpression(llvm::DIExpression *node);
+
+ /// Translate the LLVM DWARF global variable expression metadata to MLIR.
----------------
gysit wrote:
```suggestion
/// Translates the LLVM DWARF global variable expression metadata to MLIR.
```
https://github.com/llvm/llvm-project/pull/73367
More information about the Mlir-commits
mailing list