Skip to content
  1. Nov 05, 2013
  2. Oct 07, 2013
  3. Sep 27, 2013
  4. Sep 25, 2013
  5. Sep 23, 2013
  6. Sep 20, 2013
  7. Sep 15, 2013
    • Kai Nacke's avatar
      Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH · 74adc8a4
      Kai Nacke authored
       data structures.
      
      The Win64 EH data structures must be of type IMAGE_REL_AMD64_ADDR32NB
      instead of IMAGE_REL_AMD64_ADDR32. This is easiely achieved by adding
      the VK_COFF_IMGREL32 modifier to the symbol reference.
      Change also references to start and end of the SEH range of a function
      as offsets to start of the function.
      
      Reviewed by Jim Grosbach, Charles Davis and Nico Rieck.
      
      llvm-svn: 190766
      74adc8a4
  8. Sep 03, 2013
  9. Aug 27, 2013
    • Kai Nacke's avatar
      Fix wrong code offset for unwind code SET_FPREG. · 1b7e4866
      Kai Nacke authored
      The code offset for unwind code SET_FPREG is wrong because it is set
      to constant 0. The fix is to do the same as for the other unwind
      codes: emit a label and later the absolute difference between the
      label and the begin of the prologue.
      Also enables the failing test case MC/COFF/seh.s
      
      Reviewed by Jim Grosbach, Charles Davis and Nico Rieck.
      
      llvm-svn: 189309
      1b7e4866
  10. Aug 16, 2013
    • Daniel Dunbar's avatar
      [tests] Cleanup initialization of test suffixes. · 9efbedfd
      Daniel Dunbar authored
       - Instead of setting the suffixes in a bunch of places, just set one master
         list in the top-level config. We now only modify the suffix list in a few
         suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py).
      
       - Aside from removing the need for a bunch of lit.local.cfg files, this enables
         4 tests that were inadvertently being skipped (one in
         Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and
         CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been
         XFAILED).
      
       - This commit also fixes a bunch of config files to use config.root instead of
         older copy-pasted code.
      
      llvm-svn: 188513
      9efbedfd
  11. Jul 25, 2013
  12. Jul 20, 2013
  13. Jul 19, 2013
    • Rui Ueyama's avatar
      Revert "COFFDumper: Dump data directory entries." · f3882430
      Rui Ueyama authored
      Because it broke s390x and ppc64-linux buildbots. This reverts commit r186623.
      
      llvm-svn: 186627
      f3882430
    • Rui Ueyama's avatar
      COFFDumper: Dump data directory entries. · a20b9f52
      Rui Ueyama authored
      Summary:
      Dump optional data directory entries in the PE/COFF header, so that
      we can test the output of LLD linker. This patch updates the test binary
      file, but the source of the binary is the same. I just re-linked the file.
      I don't know how the previous file was linked, but the previous file did
      not have any data directory entries for some reason.
      
      Reviewers: rafael
      
      CC: llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1148
      
      llvm-svn: 186623
      a20b9f52
  14. Jul 08, 2013
  15. Jul 06, 2013
    • Kai Nacke's avatar
      Generate IMAGE_REL_AMD64_ADDR32NB relocations for SEH · 2a933a65
      Kai Nacke authored
       data structures.
      
      The Win64 EH data structures must be of type IMAGE_REL_AMD64_ADDR32NB
      instead of IMAGE_REL_AMD64_ADDR32. This is easiely achieved by adding
      the VK_COFF_IMGREL32 modifier to the symbol reference.
      Change also references to start and end of the SEH range of a function
      as offsets to start of the function.
      
      Reviewed by Charles Davis and Nico Rieck.
      
      llvm-svn: 185759
      2a933a65
    • Kai Nacke's avatar
      Fix wrong code offset for unwind code SET_FPREG. · 66bfdb83
      Kai Nacke authored
      The code offset for unwind code SET_FPREG is wrong because it is set
      to constant 0. The fix is to do the same as for the other unwind
      codes: emit a label and later the absolute difference between the
      label and the begin of the prologue.
      Also enables the failing test case MC/COFF/seh.s
      
      Reviewed by Charles Davis and Nico Rieck.
      
      llvm-svn: 185758
      66bfdb83
  16. Jun 12, 2013
  17. Jun 05, 2013
    • Rafael Espindola's avatar
      Don't hide the first ELF symbol. · 7c346c2c
      Rafael Espindola authored
      The first symbol on ELF is dummy, but it has a defined content and readelf
      normally displays it. With this change llvm-readobj also displays it and we
      can check that llvm-mc output is correct according to the standard.
      
      llvm-svn: 183337
      7c346c2c
  18. May 30, 2013
    • Rafael Espindola's avatar
      Change how we iterate over relocations on ELF. · 4f60a38f
      Rafael Espindola authored
      For COFF and MachO, sections semantically have relocations that apply to them.
      That is not the case on ELF.
      
      In relocatable objects (.o), a section with relocations in ELF has offsets to
      another section where the relocations should be applied.
      
      In dynamic objects and executables, relocations don't have an offset, they have
      a virtual address. The section sh_info may or may not point to another section,
      but that is not actually used for resolving the relocations.
      
      This patch exposes that in the ObjectFile API. It has the following advantages:
      
      * Most (all?) clients can handle this more efficiently. They will normally walk
      all relocations, so doing an effort to iterate in a particular order doesn't
      save time.
      
      * llvm-readobj now prints relocations in the same way the native readelf does.
      
      * probably most important, relocations that don't point to any section are now
      visible. This is the case of relocations in the rela.dyn section. See the
      updated relocation-executable.test for example.
      
      llvm-svn: 182908
      4f60a38f
  19. Apr 24, 2013
    • Rafael Espindola's avatar
      Use pointers to iterate over symbols. · 75c3036d
      Rafael Espindola authored
      While here, don't report a dummy symbol for relocations that don't have symbols.
      We used to says such relocations were for the first defined symbol, but now we
      return end_symbols(). The llvm-readobj output change agrees with otool.
      
      llvm-svn: 180214
      75c3036d
  20. Apr 18, 2013
  21. Apr 13, 2013
  22. Apr 12, 2013
  23. Apr 11, 2013
  24. Apr 05, 2013
Loading