[flang-commits] [flang] [flang][debug] Generate DWARF debug info using fir.use_stmt. (PR #168541)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Mon Jan 19 08:55:49 PST 2026


================
@@ -136,6 +150,34 @@ mlir::StringAttr getTargetFunctionName(mlir::MLIRContext *context,
                                 deviceId, fileId, parentName, line)));
 }
 
+/// Check if a global represents a module variable
+bool isModuleVariable(fir::GlobalOp globalOp) {
----------------
abidh wrote:

I did not use static as it was in the anonymous namespace. I have moved it outside and added static.

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


More information about the flang-commits mailing list