[all-commits] [llvm/llvm-project] 0ca74c: [flang][NFC] Refactor MODULE definitions to not ac...

Michael Klemm via All-commits all-commits at lists.llvm.org
Mon Feb 19 10:35:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ca74c345899e2c4846c696d5d3f454e208d2d65
      https://github.com/llvm/llvm-project/commit/0ca74c345899e2c4846c696d5d3f454e208d2d65
  Author: Michael Klemm <michael.klemm at amd.com>
  Date:   2024-02-19 (Mon, 19 Feb 2024)

  Changed paths:
    M flang/module/__cuda_builtins.f90
    M flang/module/__fortran_builtins.f90
    M flang/module/__fortran_ieee_exceptions.f90
    M flang/module/__fortran_type_info.f90
    M flang/module/__ppc_types.f90
    M flang/module/ieee_arithmetic.f90
    M flang/module/ieee_exceptions.f90
    M flang/module/ieee_features.f90

  Log Message:
  -----------
  [flang][NFC] Refactor MODULE definitions to not accidentally leak symbols (#80833)

This PR continues the work started with PR #79006, by setting visibility
in MODULES to PRIVATE by default and explicitly exporting only the
desired symbols. `omp_lib` needs more work, as it should maybe be
compiled from `omp_lib.f90` in
`openmp/runtime/src/incluce/omp_lib.f90.var` instead of simply using an
INCLUDE for `omp_lib.h`



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