diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-06-07 21:49:11 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-06-07 21:49:11 +0000 |
commit | 875462e8c3f6716d7f743345274ea28a6f58baea (patch) | |
tree | 3fb8e23df02ac2b3d088dc240ccadf8ac9f01701 /lib | |
parent | 59b1415cf361612f68b4226ed915bea535f07db1 (diff) | |
download | external_llvm-875462e8c3f6716d7f743345274ea28a6f58baea.zip external_llvm-875462e8c3f6716d7f743345274ea28a6f58baea.tar.gz external_llvm-875462e8c3f6716d7f743345274ea28a6f58baea.tar.bz2 |
Delete comment and fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/ELF.h | 2 | ||||
-rw-r--r-- | lib/CodeGen/ELFWriter.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/ELF.h b/lib/CodeGen/ELF.h index 09615d9..c22f6ed 100644 --- a/lib/CodeGen/ELF.h +++ b/lib/CodeGen/ELF.h @@ -166,7 +166,7 @@ namespace llvm { std::vector<unsigned char> SectionData; /// Relocations - The relocations that we have encountered so far in this - /// section that we will need to convert to MachORelocation entries when + /// section that we will need to convert to Elf relocation entries when /// the file is written. std::vector<MachineRelocation> Relocations; diff --git a/lib/CodeGen/ELFWriter.cpp b/lib/CodeGen/ELFWriter.cpp index 4bc2681..3859ea3 100644 --- a/lib/CodeGen/ELFWriter.cpp +++ b/lib/CodeGen/ELFWriter.cpp @@ -290,7 +290,6 @@ void ELFWriter::EmitSymbolTable() { // Set the zero'th symbol to a null byte, as required. StrTabOut.outbyte(0); - //SymbolTable[0].NameIdx = 0; unsigned Index = 1; for (unsigned i = 1, e = SymbolTable.size(); i != e; ++i) { // Use the name mangler to uniquify the LLVM symbol. |