@@ -122,7 +122,8 @@ mlir::LLVM::DIModuleAttr AddDebugInfoPass::getOrCreateModuleAttr(
122
122
} else {
123
123
modAttr = mlir::LLVM::DIModuleAttr::get (
124
124
context, fileAttr, scope, mlir::StringAttr::get (context, name),
125
- /* configMacros */ mlir::StringAttr (), /* includePath */ mlir::StringAttr (),
125
+ /* configMacros */ mlir::StringAttr (),
126
+ /* includePath */ mlir::StringAttr (),
126
127
/* apinotes */ mlir::StringAttr (), line, decl);
127
128
moduleMap[name] = modAttr;
128
129
}
@@ -162,8 +163,8 @@ void AddDebugInfoPass::handleGlobalOp(fir::GlobalOp globalOp,
162
163
scope = getOrCreateModuleAttr (result.second .modules [0 ], fileAttr, scope,
163
164
line - 1 , !globalOp.isInitialized ());
164
165
165
- mlir::LLVM::DITypeAttr diType = typeGen.convertType (globalOp. getType (), fileAttr, scope,
166
- globalOp.getLoc ());
166
+ mlir::LLVM::DITypeAttr diType = typeGen.convertType (
167
+ globalOp. getType (), fileAttr, scope, globalOp.getLoc ());
167
168
auto gvAttr = mlir::LLVM::DIGlobalVariableAttr::get (
168
169
context, scope, mlir::StringAttr::get (context, result.second .name ),
169
170
mlir::StringAttr::get (context, globalOp.getName ()), fileAttr, line,
0 commit comments