diff options
author | Fangrui Song <i@maskray.me> | 2021-11-09 09:54:12 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-11-09 09:54:12 -0800 |
commit | 213d1849a4b9f5579c964086097391907df37a04 (patch) | |
tree | b4e70cb13f142ca3a670a74ef84fcc183e2ef92c /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 384b4e0d332ec6fc4f9fc279d12aadc162eaf3a0 (diff) | |
download | llvm-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/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions