Skip to content
  1. Mar 30, 2017
    • Rui Ueyama's avatar
      Change the error message format for undefined symbols. · b8760203
      Rui Ueyama authored
      Previously, undefined symbol errors are one line like this
      and wasn't easy to read.
      
        /ssd/clang/bin/ld.lld: error: /ssd/llvm-project/lld/ELF/Writer.cpp:207: undefined symbol 'lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true> >::addSection(lld::elf::InputSectionBase*)'
      
      This patch make it more structured like this.
      
        bin/ld.lld: error: undefined symbol: lld::elf::EhFrameSection<llvm::object::ELFType<(llvm::support::endianness)0, true>
        >>> Referenced by Writer.cpp:207 (/ssd/llvm-project/lld/ELF/Writer.cpp:207)
        >>>               Writer.cpp.o in archive lib/liblldELF.a
      
      Discussion thread:
      http://lists.llvm.org/pipermail/llvm-dev/2017-March/111459.html
      
      Differential Revision: https://reviews.llvm.org/D31481
      
      llvm-svn: 299097
      b8760203
  2. Mar 29, 2017
  3. Mar 28, 2017
    • Rui Ueyama's avatar
      Do not set entsize for .gnu.hash. · 486369fc
      Rui Ueyama authored
      .gnu.hash happen to contain only 32-bit integers for 32-bit arch,
      but the section contents are not uniform array members, so setting
      entsize doesn't make much sense. This behavior seems to have been
      blindly copied from GNU linkers.
      
      llvm-svn: 298934
      486369fc
  4. Mar 27, 2017
    • Rui Ueyama's avatar
      Sort. · 70c8efd0
      Rui Ueyama authored
      llvm-svn: 298829
      70c8efd0
    • Rui Ueyama's avatar
      Simplify. NFC. · ceb5bd59
      Rui Ueyama authored
      This patch calls getAddend on a relocation only when the relocation is RELA.
      That doesn't really improve runtime performance but should improve
      readability as the code now matches the function description.
      
      llvm-svn: 298828
      ceb5bd59
  5. Mar 26, 2017
  6. Mar 25, 2017
  7. Mar 24, 2017
  8. Mar 23, 2017
Loading