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

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Jan 19 08:58:54 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) {
----------------
tblah wrote:

Thank you. This is the recommended LLVM style: https://llvm.org/docs/CodingStandards.html#restrict-visibility

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


More information about the flang-commits mailing list