aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2023-09-18 09:20:50 -0700
committerGitHub <noreply@github.com>2023-09-18 09:20:50 -0700
commit9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9 (patch)
treedb0b88d84d0d4b7d464ed98624f248dcb57911d8 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentbb7b8726a4e09a7f1cf1b862ffd3faa80883501d (diff)
downloadllvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.zip
llvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.tar.gz
llvm-9bbec0ad42a8e8c8f564a36adb1e819a0921a7f9.tar.bz2
[flang] Fix SIZEOF() expression rewriting (#66241)
The rewriting of the extension intrinsic function SIZEOF was producing results that would reference symbols that were not available in the current scope, leading to crashes in lowering. The symbols could be function result variables, for SIZEOF(func()), or bare derived type component names, for SIZEOF(array(n)%component). Fixing this without regressing on a current test case involved careful threading of some state through the TypeAndShape characterization code and the shape/bounds analyzer, and some clean-up was done along the way.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions