[flang-commits] [flang] [flang][debug] Handle 'used' module. (PR #107626)
via flang-commits
flang-commits at lists.llvm.org
Tue Sep 10 01:49:01 PDT 2024
https://github.com/jeanPerier approved this pull request.
Thanks, feel free to go ahead and propose some representation in FIR for information about modules. There is little point for it outside of debugging which explains why it is not there.
I do not see any issue to emit some "fir.renamed = local_name" attribute on fir.declare of renamed module variables.
To get the proper distinction vs `use vs use, only`, some extra info will be required. I would suggest attaching some new extra attribute about the used module on created function when -g is enabled.
https://github.com/llvm/llvm-project/pull/107626
More information about the flang-commits
mailing list