aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-06-14 09:29:21 +0200
committerGitHub <noreply@github.com>2024-06-14 09:29:21 +0200
commitdb08b0999d1b42391e34ac0c469b92de98e9f550 (patch)
treef8151a6c78110cde2bbc0c549741d74f5a742393 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentc4a1440c149d3ea03f14fd6858b6be3a2faf9af6 (diff)
downloadllvm-db08b0999d1b42391e34ac0c469b92de98e9f550.zip
llvm-db08b0999d1b42391e34ac0c469b92de98e9f550.tar.gz
llvm-db08b0999d1b42391e34ac0c469b92de98e9f550.tar.bz2
[ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95410)
The following code assumes that RepeatedSequenceLocs is non-empty. Bail out if there are less than 2 candidates left, as no outlining is possible in that case. The same check is already present in all the other places where elements from RepeatedSequenceLocs may be dropped. This fixes the issue reported at: https://github.com/llvm/llvm-project/pull/93965#issuecomment-2151989716
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions