diff options
| author | jeanPerier <jperier@nvidia.com> | 2023-09-18 14:59:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-18 14:59:56 +0200 |
| commit | 99a54b839a441a6e9dd9106c5fd9e547cf1309e5 (patch) | |
| tree | dcc32ec6c6f98bf2e8b09e66a8430da5fdfcc2b0 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
| parent | 4491f0b969c04c93e8db397d51c6986e9371a49b (diff) | |
| download | llvm-99a54b839a441a6e9dd9106c5fd9e547cf1309e5.zip llvm-99a54b839a441a6e9dd9106c5fd9e547cf1309e5.tar.gz llvm-99a54b839a441a6e9dd9106c5fd9e547cf1309e5.tar.bz2 | |
[flang] Lower PRIVATE component names safely (#66076)
It is possible for a derived type extending a type with private
components to define components with the same name as the private
components.
This was not properly handled by lowering where several fir.record type
component names could end-up being the same, leading to bad generated
code (only the first component was accessed via fir.field_index, leading
to bad generated code).
This patch handles the situation by adding the derived type mangled name
to private component.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions
