[flang-commits] [flang] [flang] Add debug information for module variables. (PR #91582)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed May 15 04:15:45 PDT 2024
================
@@ -91,6 +169,10 @@ void AddDebugInfoPass::runOnOperation() {
llvm::dwarf::getLanguage("DW_LANG_Fortran95"), fileAttr, producer,
isOptimized, debugLevel);
+ module.walk([&](fir::GlobalOp globalOp) {
----------------
tblah wrote:
Yes that's what I meant. Thank you!
https://github.com/llvm/llvm-project/pull/91582
More information about the flang-commits
mailing list