aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-11-09 09:54:12 -0800
committerFangrui Song <i@maskray.me>2021-11-09 09:54:12 -0800
commit213d1849a4b9f5579c964086097391907df37a04 (patch)
treeb4e70cb13f142ca3a670a74ef84fcc183e2ef92c /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent384b4e0d332ec6fc4f9fc279d12aadc162eaf3a0 (diff)
downloadllvm-213d1849a4b9f5579c964086097391907df37a04.zip
llvm-213d1849a4b9f5579c964086097391907df37a04.tar.gz
llvm-213d1849a4b9f5579c964086097391907df37a04.tar.bz2
[ELF] Improve sh_info=0 and sh_info>=num_sections diagnostic for SHT_REL/SHT_RELA
PR52408 reported an sh_info=0 instance. I have seen sh_info=0 independently before. sh_info>=num_sections is probably very rare. Just use one diagnostic for the two types of errors. Delete invalid-relocations.test which is covered by invalid/bad-reloc-target.test Differential Revision: https://reviews.llvm.org/D113466
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions