[lld] r243231 - ELF2: Remove dead code.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Aug 3 13:51:22 PDT 2015


Thanks!

On 25 July 2015 at 20:50, Rui Ueyama <ruiu at google.com> wrote:
> 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;
>  };
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list