We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125553a commit b5ef33bCopy full SHA for b5ef33b
llvm/tools/llvm-objdump/ELFDump.cpp
@@ -405,12 +405,6 @@ template <class ELFT> void ELFDumper<ELFT>::printSymbolVersion() {
405
Shdr.sh_type != ELF::SHT_GNU_verdef)
406
continue;
407
408
- ArrayRef<uint8_t> Contents =
409
- unwrapOrError(Elf.getSectionContents(Shdr), FileName);
410
- const typename ELFT::Shdr *StrTabSec =
411
- unwrapOrError(Elf.getSection(Shdr.sh_link), FileName);
412
- StringRef StrTab = unwrapOrError(Elf.getStringTable(*StrTabSec), FileName);
413
-
414
if (Shdr.sh_type == ELF::SHT_GNU_verneed) {
415
printSymbolVersionDependency(Shdr);
416
} else {
0 commit comments