[flang-commits] [flang] [flang] Compile the output of -fdebug-unparse-with-modules (PR #135696)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Tue Apr 15 08:38:50 PDT 2025


klausler wrote:

> LGTM. Interesting implementation detail! Why are private variables associated with an alias in mod files?

It is mostly because module files contain folded expression values for initializers in which structure constructors are fully elaborated with default component values, and these themselves can be structure constructors for types that are private elsewhere.  Also, generic procedure references will have been resolved to specific procedures, and while the original generic was public, the specific resolution may not be.

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


More information about the flang-commits mailing list