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

Tobias Gysi llvmlistbot at llvm.org
Thu Nov 30 23:46:52 PST 2023


================
@@ -220,7 +230,7 @@ DINodeAttr DebugImporter::translate(llvm::DINode *node) {
   auto guard = llvm::make_scope_exit([&]() { translationStack.pop_back(); });
 
   // Convert the debug metadata if possible.
-  auto translateNode = [this](llvm::DINode *node) -> DINodeAttr {
+  auto translateNode = [this](llvm::MDNode *node) -> DINodeAttr {
----------------
gysit wrote:

```suggestion
  auto translateNode = [this](llvm::DINode *node) -> DINodeAttr {
```
nit: I think this is a leftover from the MDNode change?

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


More information about the Mlir-commits mailing list