[Mlir-commits] [mlir] [mlir] Add support for DIGlobalVariable and DIGlobalVariableExpression (PR #73367)
Christian Ulmann
llvmlistbot at llvm.org
Wed Nov 29 00:53:43 PST 2023
================
@@ -827,6 +846,13 @@ LogicalResult ModuleTranslation::convertGlobals() {
if (failed(convertDialectAttributes(op)))
return failure();
+ // Finally, update the compile units their respective sets of global variables
+ // created earlier.
+ for (const auto &gvarMapping : allGVars) {
----------------
Dinistro wrote:
Maybe use structured bindings here.
https://github.com/llvm/llvm-project/pull/73367
More information about the Mlir-commits
mailing list