aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2022-09-17 14:47:38 +0100
committerFlorian Hahn <flo@fhahn.com>2022-09-17 14:47:38 +0100
commit7914e53e312074828293356f569d190ac6eae3bd (patch)
treefb23bdf60929d8f2c107319d2cf0ac80df623ce3 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent78533528cf5ed04ac78722afff7c9f2f91aa8359 (diff)
downloadllvm-7914e53e312074828293356f569d190ac6eae3bd.zip
llvm-7914e53e312074828293356f569d190ac6eae3bd.tar.gz
llvm-7914e53e312074828293356f569d190ac6eae3bd.tar.bz2
[ConstraintElimination] Fix crash when combining results.
f213128b292d didn't account for the possibility that the result of decompose may be empty. Fix that by explicitly checking. Use a newly introduced helper to also reduce some duplication. Thanks @bjope for finding the issue!
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions