[lld] r243231 - ELF2: Remove dead code.
Rui Ueyama
ruiu at google.com
Sat Jul 25 17:50:13 PDT 2015
Author: ruiu
Date: Sat Jul 25 19:50:13 2015
New Revision: 243231
URL: http://llvm.org/viewvc/llvm-project?rev=243231&view=rev
Log:
ELF2: Remove dead code.
Modified:
lld/trunk/ELF/Writer.h
Modified: lld/trunk/ELF/Writer.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.h?rev=243231&r1=243230&r2=243231&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.h (original)
+++ lld/trunk/ELF/Writer.h Sat Jul 25 19:50:13 2015
@@ -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<Chunk *> Chunks;
};
More information about the llvm-commits
mailing list