diff options
author | Peter Klausler <pklausler@nvidia.com> | 2022-04-22 14:06:54 -0700 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2022-04-25 09:25:44 -0700 |
commit | 72904a990c4d215a617ca77977babbeb45fc36dc (patch) | |
tree | 40d7efff2806aea7583e096cf5a08d11c983deda /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 149d3e4365325fdb9b79a4d0e3f88a2c84e0baaf (diff) | |
download | llvm-72904a990c4d215a617ca77977babbeb45fc36dc.zip llvm-72904a990c4d215a617ca77977babbeb45fc36dc.tar.gz llvm-72904a990c4d215a617ca77977babbeb45fc36dc.tar.bz2 |
[flang] Avoid global name conflict when BIND(C,NAME=) is used
At the top level of program units in a source file, two subprograms
are allowed to have the same name if at least one of them has a
distinct interoperable binding name. F18's symbol table requires
(most) symbols in a scope to have distinct names, though. Solve
by using compiler-created names for the symbols of global scope
subprograms that have interoperable binding names.
Differential Revision: https://reviews.llvm.org/D124295
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions