From 179cd7b82a8d2f2c77a97c7d0a5e8231ac8deef9 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Sun, 26 Jul 2015 00:50:13 +0000 Subject: [PATCH] ELF2: Remove dead code. llvm-svn: 243231 --- lld/ELF/Writer.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lld/ELF/Writer.h b/lld/ELF/Writer.h index e1066e178bdd..f71c80f386f0 100644 --- a/lld/ELF/Writer.h +++ b/lld/ELF/Writer.h @@ -31,14 +31,9 @@ public: // Returns the size of the section in the output file. uint64_t getSize() { return Header.sh_size; } - // Set offset into the string table storing this section name. - // Used only when the name is longer than 8 bytes. - void setStringTableOff(uint32_t V) { StringTableOff = V; } - private: StringRef Name; llvm::ELF::Elf64_Shdr Header; - uint32_t StringTableOff = 0; std::vector Chunks; };