Skip to content
  1. May 04, 2013
  2. May 03, 2013
    • Amara Emerson's avatar
      Add support for reading ARM ELF build attributes. · 2f54d9fe
      Amara Emerson authored
      Build attribute sections can now be read if they exist via ELFObjectFile, and
      the llvm-readobj tool has been extended with an option to dump this information
      if requested. Regression tests are also included which exercise these features.
      
      Also update the docs with a fixed ARM ABI link and a new link to the Addenda
      which provides the build attributes specification.
      
      llvm-svn: 181009
      2f54d9fe
    • Bill Wendling's avatar
      Remove redundant flag. · d0a790a5
      Bill Wendling authored
      llvm-svn: 180967
      d0a790a5
  3. May 02, 2013
  4. Apr 26, 2013
    • Rafael Espindola's avatar
      Use llvm/Object/MachO.h in macho-dumper. Drop the old macho parser. · 6e040c0b
      Rafael Espindola authored
      For Mach-O there were 2 implementations for parsing object files. A
      standalone llvm/Object/MachOObject.h and llvm/Object/MachO.h which
      implements the generic interface in llvm/Object/ObjectFile.h.
      
      This patch adds the missing features to MachO.h, moves macho-dump to
      use MachO.h and removes ObjectFile.h.
      
      In addition to making sure that check-all is clean, I checked that the
      new version produces exactly the same output in all Mach-O files in a
      llvm+clang build directory (including executables and shared
      libraries).
      
      To test the performance, I ran macho-dump over all the files in a
      llvm+clang build directory again, but this time redirecting the output
      to /dev/null. Both the old and new versions take about 4.6 seconds
      (2.5 user) to finish.
      
      llvm-svn: 180624
      6e040c0b
  5. Apr 25, 2013
  6. 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
    • Rafael Espindola's avatar
      Don't produce an empty llvm.compiler.used in LTO. · cc111b2b
      Rafael Espindola authored
      LTO was always creating an empty llvm.compiler.used. With this patch we
      now first check if there is anything to be added first.
      
      Unfortunately, there is no good way to test libLTO in isolation as it needs gold
      or ld64, but there are bots doing LTO builds that found this problem.
      
      llvm-svn: 180202
      cc111b2b
  7. Apr 23, 2013
    • Rafael Espindola's avatar
      Fix typo. · 7f08d1b9
      Rafael Espindola authored
      llvm-svn: 180137
      7f08d1b9
    • Rafael Espindola's avatar
      Simplify yaml2obj a bit. · ad3b9753
      Rafael Espindola authored
      The COFFParser now contains only a COFFYAML::Object and the string table
      (which is recomputed, not serialized).
      
      The structs in COFFParser now all begin with a Header field with what is
      actually on the COFF object. The other fields are things that are semantically
      part of the struct (relocations in a section for exmaple), but are not actually
      represented that way in the object file.
      
      llvm-svn: 180134
      ad3b9753
    • Rafael Espindola's avatar
      Write relocations in yaml2obj. · b716e622
      Rafael Espindola authored
      llvm-svn: 180115
      b716e622
  8. Apr 22, 2013
  9. Apr 20, 2013
  10. Apr 19, 2013
  11. Apr 18, 2013
  12. Apr 17, 2013
  13. Apr 16, 2013
  14. Apr 15, 2013
  15. Apr 13, 2013
  16. Apr 12, 2013
Loading