Skip to content

[flang][NFC] Refactor MODULE definitions to not accidentally leak symbols #80833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Feb 19, 2024

Conversation

mjklemm
Copy link
Contributor

@mjklemm mjklemm commented Feb 6, 2024

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

@mjklemm mjklemm self-assigned this Feb 6, 2024
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Feb 6, 2024
@mjklemm
Copy link
Contributor Author

mjklemm commented Feb 9, 2024

Ping :-)

Copy link
Contributor

@jeanPerier jeanPerier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me, thanks

@kparzysz kparzysz merged commit 0ca74c3 into llvm:main Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flang Flang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants