diff options
author | peter klausler <pklausler@nvidia.com> | 2021-01-15 11:52:10 -0800 |
---|---|---|
committer | peter klausler <pklausler@nvidia.com> | 2021-01-15 16:56:38 -0800 |
commit | 1bd083b5d6d0619f532a7310e72887ea6d2e87eb (patch) | |
tree | 09e863f01eaa10f267f320a528f13e60e990b9c5 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | aa3d4d9939595295d19969c62077cc09e4823f58 (diff) | |
download | llvm-1bd083b5d6d0619f532a7310e72887ea6d2e87eb.zip llvm-1bd083b5d6d0619f532a7310e72887ea6d2e87eb.tar.gz llvm-1bd083b5d6d0619f532a7310e72887ea6d2e87eb.tar.bz2 |
[flang] Create names to allow access to inaccessible specifics
When a reference to a generic interface occurs in a specification
expression that must be emitted to a module file, we have a problem
when the generic resolves to a function whose name is inaccessible
due to being PRIVATE or due to a conflict with another use of the
same name in the scope. In these cases, construct a new name for
the specific procedure and emit a renaming USE to the module file.
Also, relax enforcement of PRIVATE when analyzing module files.
Differential Revision: https://reviews.llvm.org/D94815
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions