aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2024-01-27 06:57:04 -0600
committerGitHub <noreply@github.com>2024-01-27 06:57:04 -0600
commitf882eb49860cea4d5cfb76a7bbbfa45d04a4ac00 (patch)
treea0729d8734d7eb546a35f230dd143beda575e139 /llvm/tools/llvm-cov/SourceCoverageView.cpp
parent3855757f98935208d7d0481af01a474139de9519 (diff)
downloadllvm-f882eb49860cea4d5cfb76a7bbbfa45d04a4ac00.zip
llvm-f882eb49860cea4d5cfb76a7bbbfa45d04a4ac00.tar.gz
llvm-f882eb49860cea4d5cfb76a7bbbfa45d04a4ac00.tar.bz2
[Flang][OpenMP] Skip component symbols when creating extended values (#79657)
The `map` clause in OpenMP allows structure components to be specified (unlike other clauses). Structure components do get their own symbols, but these are not meant to be instantiated. When a component reference is passed as an argument to the omp.target op, it gets a corresponding parameter in the target op's entry block. The original symbols are then bound to the same kind of an extended value as before, but the value is now based on the parameters. To handle structure components more gracefully, put their symbols on the list of mapped objects, but skip them when creating extended values. Fixes https://github.com/llvm/llvm-project/issues/79478.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions