[all-commits] [llvm/llvm-project] b42aef: [flang] Don't duplicate hermetic module file depen...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jun 11 13:13:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b42aef5e6f32a3ac6c259cb4cacf58239400b5aa
      https://github.com/llvm/llvm-project/commit/b42aef5e6f32a3ac6c259cb4cacf58239400b5aa
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/modfile77.F90
    A flang/test/Semantics/modfile78.F90

  Log Message:
  -----------
  [flang] Don't duplicate hermetic module file dependencies (#143605)

When emitting the modules on which a module depends under the
-fhermetic-module-files options, eliminate duplicates by name rather
than by symbol addresses. This way, when a dependent module is in the
symbol table more than once due to the use of a nested hermetic module,
it doesn't get emitted multiple times to the new module file.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list