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