Skip to content
  1. Jul 12, 2013
  2. Jul 10, 2013
    • Rafael Espindola's avatar
      Move tests from test/Archive to test/Object. · 3b5475c0
      Rafael Espindola authored
      There is no lib/Archive anymore and some archive tests were in test/Archive and
      others in test/Object. Since archive is just one of the formats supported by
      lib/Object, test/Object is probably the best location.
      
      llvm-svn: 186038
      3b5475c0
  3. Jul 04, 2013
  4. Jul 03, 2013
  5. Jun 18, 2013
  6. Jun 12, 2013
    • Sean Silva's avatar
      [yaml2obj] Remove fragile test case. · 81db71ff
      Sean Silva authored
      This test case was a "sanity check"/"breathing" test case at first, but
      is really fragile, which impairs changes to yaml2obj.
      
      `test/Object/yaml2obj-elf-bits-endian.test` is much more robust and
      serves as an adequate sanity check.
      
      llvm-svn: 183811
      81db71ff
  7. Jun 11, 2013
  8. Jun 06, 2013
  9. Jun 05, 2013
    • Rafael Espindola's avatar
      Handle relocations that don't point to symbols. · 806f0064
      Rafael Espindola authored
      In ELF (as in MachO), not all relocations point to symbols. Represent this
      properly by using a symbol_iterator instead of a SymbolRef. Update llvm-readobj
      ELF's dumper to handle relocatios without symbols.
      
      llvm-svn: 183284
      806f0064
  10. Jun 03, 2013
  11. May 06, 2013
  12. May 04, 2013
  13. 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
  14. Apr 25, 2013
    • Rafael Espindola's avatar
      Clarify getRelocationAddress x getRelocationOffset a bit. · 1e483879
      Rafael Espindola authored
      getRelocationAddress is for dynamic libraries and executables,
      getRelocationOffset for relocatable objects.
      
      Mark the getRelocationAddress of COFF and MachO as not implemented yet. Add a
      test of ELF's. llvm-readobj -r now prints the same values as readelf -r.
      
      llvm-svn: 180259
      1e483879
  15. Apr 23, 2013
  16. Apr 19, 2013
    • Rafael Espindola's avatar
      Don't read one command past the end. · feef8c24
      Rafael Espindola authored
      Thanks to Evgeniy Stepanov for reporting this.
      
      It might be a good idea to add a command iterator abstraction to MachO.h, but
      this fixes the bug for now.
      
      llvm-svn: 179848
      feef8c24
  17. Apr 04, 2013
  18. Apr 03, 2013
    • Rafael Espindola's avatar
      Implement the "mips endian" for r_info. · 2025e8b8
      Rafael Espindola authored
      Normally r_info is just a 32 of 64 bit number matching the endian of the rest
      of the file. Unfortunately, mips 64 bit little endian is special: The top 32
      bits are a little endian number and the following 32 are a big endian one.
      
      llvm-svn: 178694
      2025e8b8
  19. Jan 06, 2013
  20. Dec 17, 2012
  21. Nov 13, 2012
  22. Sep 06, 2012
  23. Aug 29, 2012
  24. Aug 02, 2012
  25. Jun 23, 2012
  26. Mar 09, 2012
    • David Meyer's avatar
      Support reading GNU symbol versions in ELFObjectFile · 6c614bf7
      David Meyer authored
      * Add enums and structures for GNU version information.
      * Implement extraction of that information on a per-symbol basis (ELFObjectFile::getSymbolVersion).
      * Implement a generic interface, GetELFSymbolVersion(), for getting the symbol version from the ObjectFile (hides the templating).
      * Have llvm-readobj print out the version, when available.
      * Add a test for the new feature: readobj-elf-versioning.test
      
      llvm-svn: 152436
      6c614bf7
  27. Mar 01, 2012
    • David Meyer's avatar
      [Object] · 2fc34c5f
      David Meyer authored
      * Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile.
      * Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable.
      * Implement this new interface completely for ELF, leave stubs for COFF and MachO.
      * Add 'llvm-readobj' tool for dumping ObjectFile information.
      
      llvm-svn: 151785
      2fc34c5f
  28. Feb 28, 2012
  29. Nov 01, 2011
Loading