From 18f2a33eba26cfaa356ebcc26f7d66b270ed5770 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 8 Aug 2015 00:25:57 +0000 Subject: [PATCH] Delete dead code. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244378 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Object/ELF.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/llvm/Object/ELF.h b/include/llvm/Object/ELF.h index d8bad4564ea..ac0ab307060 100644 --- a/include/llvm/Object/ELF.h +++ b/include/llvm/Object/ELF.h @@ -68,7 +68,6 @@ private: const Elf_Ehdr *Header; const Elf_Shdr *SectionHeaderTable = nullptr; StringRef DotShstrtab; // Section header string table. - StringRef DotStrtab; // Symbol header string table. const Elf_Shdr *dot_symtab_sec = nullptr; // Symbol table section. const Elf_Shdr *SymbolTableSectionHeaderIndex = nullptr; @@ -377,10 +376,6 @@ ELFFile::ELFFile(StringRef Object, std::error_code &EC) return; } dot_symtab_sec = &Sec; - ErrorOr SymtabOrErr = getStringTableForSymtab(Sec); - if ((EC = SymtabOrErr.getError())) - return; - DotStrtab = *SymtabOrErr; } break; } } -- 2.34.1