Skip to content
  1. Mar 23, 2017
  2. Mar 22, 2017
  3. Mar 21, 2017
  4. Mar 20, 2017
  5. Mar 19, 2017
  6. Mar 18, 2017
    • Rui Ueyama's avatar
      Compute Config member function return values only once. · d57e74b7
      Rui Ueyama authored
      We had a few Config member functions that returns configuration values.
      For example, we had is64() which returns true if the target is 64-bit.
      The return values of these functions are constant and never change.
      
      This patch is to compute them only once to make it clear that they'll
      never change.
      
      llvm-svn: 298168
      d57e74b7
    • Rui Ueyama's avatar
      Define Config::isLE and Config::wordsize. · fd06b734
      Rui Ueyama authored
      isLE() return true if the target is little-endian.
      wordsize() returns 8 for 64-bit and 4 for 32-bit.
      
      llvm-svn: 298167
      fd06b734
  7. Mar 17, 2017
    • Peter Collingbourne's avatar
      ELF: Change check(Expected<T>, const Twine &) to call toString instead of... · 5758b2e4
      Peter Collingbourne authored
      ELF: Change check(Expected<T>, const Twine &) to call toString instead of converting to an error code.
      
      llvm-svn: 298155
      5758b2e4
    • Evgeniy Stepanov's avatar
      [ELF] Restore GC handling of LINK_ORDER, C-named sections. · 4b78036b
      Evgeniy Stepanov authored
      __start_xxx symbol keeps section xxx alive only if it is not
      SHF_LINK_ORDER. Such sections can be used for user metadata, when
      __start_xxx is used to iterate over section contents at runtime, and
      the liveness is determined solely by the linked (associated) section.
      
      This was earlier implemented in r294592, and broken in r296723.
      
      Differential Revision: https://reviews.llvm.org/D30964
      
      llvm-svn: 298154
      4b78036b
    • Bob Haarman's avatar
      · f790f788
      Bob Haarman authored
      recommend using llvm-ar when finding undefined references and empty archives
      
      Summary:
      When we perform LTO builds with a version of ar that does not
      understand LLVM bitcode objects, we end up with undefined references,
      because our archive files do not list the bitcode symbols in their
      indices. The error messages do not make it clear what the real problem
      is. This change adds a note that points out the likely problem and
      solution. It is similar in spirit to r282633, but aims to avoid false
      positives by only triggering when we see both undefined references and
      archives without symbols in their indices.
      
      Fixes PR32281.
      
      Reviewers: davide, ruiu, tejohnson
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D31011
      
      llvm-svn: 298124
      f790f788
    • George Rimar's avatar
      [ELF] - Move template instantiations to the end of file. NFC. · a918957b
      George Rimar authored
      To be consistent with other code, addresses post 
      commit review comments.
      
      llvm-svn: 298102
      a918957b
    • Rafael Espindola's avatar
      Handle & and | of non abs values. · 7ba5f47e
      Rafael Espindola authored
      Handling & in particular is probably important because of its use in
      aligning addresses.
      
      llvm-svn: 298096
      7ba5f47e
Loading