Skip to content
  1. Nov 04, 2013
  2. Nov 02, 2013
  3. Oct 30, 2013
  4. Oct 29, 2013
  5. Oct 26, 2013
  6. Oct 25, 2013
  7. Oct 24, 2013
    • Michael J. Spencer's avatar
      [ELF][x86-64] Generate PLT for R_*_32S relocs. · 2fd6c7d9
      Michael J. Spencer authored
      llvm-svn: 193369
      2fd6c7d9
    • Rui Ueyama's avatar
      Revert "r193300 - [PassManager] add ReaderWriter{Native, YAML} to the Driver" · 671c8013
      Rui Ueyama authored
      The patch have completely broken COFF port and disabled many tests.
      This also reverts r193302 (comment fix).
      
      llvm-svn: 193362
      671c8013
    • Shankar Easwaran's avatar
      [PassManager] add ReaderWriter{Native,YAML} to the Driver. · 89c2d8fa
      Shankar Easwaran authored
      Disable tests to be run with REQUIRES: disable. Note disable is not added to the
      config by the test runner Mkaefiles, so essentially disables the test.
      
      Code changes would be required to fix these tests :-
      
      test/darwin/hello-world.objtxt
      test/elf/check.test
      test/elf/phdr.test
      test/elf/ppc.test
      test/elf/undef-from-main-dso.test
      test/elf/X86_64/note-sections-ro_plus_rw.test
      test/pecoff/alignment.test
      test/pecoff/base-reloc.test
      test/pecoff/bss-section.test
      test/pecoff/drectve.test
      test/pecoff/dynamic.test
      test/pecoff/dynamicbase.test
      test/pecoff/entry.test
      test/pecoff/hello.test
      test/pecoff/imagebase.test
      test/pecoff/importlib.test
      test/pecoff/lib.test
      test/pecoff/multi.test
      test/pecoff/reloc.test
      test/pecoff/weak-external.test
      
      llvm-svn: 193300
      89c2d8fa
  8. Oct 23, 2013
  9. Oct 22, 2013
  10. Oct 19, 2013
    • Rui Ueyama's avatar
      Fix bug that CompareAtoms::compare is not transitive. · 46bf8286
      Rui Ueyama authored
      This patch fixes a bug in r190608. The results of a comparison function
      passed to std::sort must be transitive, which is, if a < b and b < c, and if
      a != b, a < c must be also true. CompareAtoms::compare did not actually
      guarantee the transitivity. As a result the sort results were sometimes just
      wrong.
      
      Consider there are three atoms, X, Y, and Z, whose file ordinals are 1, 2, 3,
      respectively. Z has a property "layout-after X". In this case, all the
      following conditionals become true:
      
        X < Y because X's ordinal is less than Y's
        Y < Z because Y's ordinal is less than Z's
        Z < X because of the layout-after relationship
      
      This is not of course transitive. The reason why this happened is because
      we used follow-on relationships for comparison if two atoms falls in the same
      follow-on chain, but we used each atom's properties if they did not. This patch
      fixes the issue by using follow-on root atoms for comparison to get consistent
      results.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1980
      
      llvm-svn: 193029
      46bf8286
    • Rui Ueyama's avatar
      [PECOFF] Only COMDAT symbols are allowed to be dead-stripped. · 1ce8a0a8
      Rui Ueyama authored
      We should dead-strip atoms only if they are created for COMDAT symbols. If we
      remove non-COMDAT atoms from a binary, it will no longer be guaranteed that
      the binary will work correctly.
      
      In COFF, you can manipulate the order of section contents in the resulting
      binary by section name. For example, if you have four sections
      .data$unique_prefix_{a,b,c,d}, it's guaranteed that the contents of A, B, C,
      and D will be consecutive in the resulting .data section in that order.
      Thus, you can access B's and C's contents by incrementing a pointer pointing
      to A until it reached to D. That's why we cannot dead-strip B or C even if
      no one is directly referencing to them.
      
      Some object files in the standard library actually use that technique.
      
      llvm-svn: 193017
      1ce8a0a8
  11. Oct 18, 2013
  12. Oct 16, 2013
    • Rui Ueyama's avatar
      Make undefines check into an assertion. · f3630fe4
      Rui Ueyama authored
      Dead-strip root symbols can be undefined atoms, but should not really be
      nonexistent, because dead-strip root symbols should be added to initial
      undefined atoms at startup. Whenever you look up its name in the symbol
      table, some type of atom will always exist.
      
      llvm-svn: 192831
      f3630fe4
    • Rui Ueyama's avatar
      Propagate deadStripOptimize()'s failure to the caller. · 28478317
      Rui Ueyama authored
      We want to make the program to exit with non-zero exit code if there's an error
      during dead stripping.
      
      llvm-svn: 192771
      28478317
  13. Oct 11, 2013
  14. Oct 10, 2013
  15. Oct 09, 2013
  16. Oct 07, 2013
    • Shankar Easwaran's avatar
      [lld][InputGraph] Change the Resolver to use inputGraph · a96f3a3d
      Shankar Easwaran authored
      Changes :-
      
      a) Functionality in InputGraph to insert Input elements at any position
      b) Functionality in the Resolver to use nextFile
      c) Move the functionality of assigning file ordinals to InputGraph
      d) Changes all inputs to MemoryBuffers
      e) Remove LinkerInput, InputFiles, ReaderArchive
      
      llvm-svn: 192081
      a96f3a3d
  17. Oct 03, 2013
Loading