[llvm-commits] [llvm] r73038 - in /llvm/trunk: include/llvm/Support/OutputBuffer.h lib/CodeGen/ELF.h lib/CodeGen/ELFCodeEmitter.cpp lib/CodeGen/ELFCodeEmitter.h lib/CodeGen/ELFWriter.cpp lib/CodeGen/ELFWriter.h
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Sun Jun 7 14:46:24 PDT 2009
On Sun, Jun 7, 2009 at 6:42 PM, Frits van Bommel <fvbommel at wxs.nl> wrote:
>
> Bruno Cardoso Lopes wrote:
> > ==============================================================================
> > --- llvm/trunk/lib/CodeGen/ELF.h (original)
> > +++ llvm/trunk/lib/CodeGen/ELF.h Sun Jun 7 16:22:38 2009
> > @@ -134,6 +165,15 @@
> > /// up for emission to the file.
> > 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
> > + /// the file is written.
> > + std::vector<MachineRelocation> Relocations;
>
> Paste-o in the comment? (This file is for ELF, not MachO, right?)
>
> > ==============================================================================
> > --- llvm/trunk/lib/CodeGen/ELFWriter.cpp (original)
> > +++ llvm/trunk/lib/CodeGen/ELFWriter.cpp Sun Jun 7 16:22:38 2009
> > @@ -284,7 +290,7 @@
> >
> > // Set the zero'th symbol to a null byte, as required.
> > StrTabOut.outbyte(0);
> > - SymbolTable[0].NameIdx = 0;
> > + //SymbolTable[0].NameIdx = 0;
>
> Did you mean to comment that out? And if so, why comment rather than delete?
Yep, thanks for spoting this out! :)
--
Bruno Cardoso Lopes
http://www.brunocardoso.cc
More information about the llvm-commits
mailing list