aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-01-08 13:15:22 -0800
committerGitHub <noreply@github.com>2025-01-08 13:15:22 -0800
commit9462ce885b2a067fdd20568ba9105489f3b34c53 (patch)
tree3888ca3cb1b45e4ecdabfced0c9b8b866066c655 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent510285cd67a7f7626ba6d6733207480ca5b2b469 (diff)
downloadllvm-9462ce885b2a067fdd20568ba9105489f3b34c53.zip
llvm-9462ce885b2a067fdd20568ba9105489f3b34c53.tar.gz
llvm-9462ce885b2a067fdd20568ba9105489f3b34c53.tar.bz2
[flang] Fix crash when handling benign USE conflict (#121977)
When the same name is used for distinct derived types in two modules, and at least one of those modules also defines a generic interface of the same name, name resolution crashes when both modules are USE'd into the same scope. The crash is due to some pointers into the symbol table becoming invalid when a symbol is replaced with a UseErrorDetails; set them to null. Also allow for extending a UseErrorDetails in place rather than emitting a spurious error message. Fixes https://github.com/llvm/llvm-project/issues/121718.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions