diff options
author | Florian Hahn <flo@fhahn.com> | 2022-09-17 14:47:38 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-09-17 14:47:38 +0100 |
commit | 7914e53e312074828293356f569d190ac6eae3bd (patch) | |
tree | fb23bdf60929d8f2c107319d2cf0ac80df623ce3 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 78533528cf5ed04ac78722afff7c9f2f91aa8359 (diff) | |
download | llvm-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