Skip to content
  1. Oct 18, 2013
  2. Oct 17, 2013
  3. Oct 02, 2013
  4. Oct 01, 2013
  5. Sep 29, 2013
  6. Sep 28, 2013
  7. Sep 26, 2013
  8. Sep 25, 2013
  9. Sep 24, 2013
  10. Sep 23, 2013
    • David Blaikie's avatar
      DebugInfo: Wrap section data and relocs together for dwarf dumping support · 1b5ee5d9
      David Blaikie authored
      This is a small step that may enable some simplifications in producer
      (DWARFContext) and consumer (DWARFCompileUnit and other places) by
      making a more complete abstraction around the data and relocations for a
      section. Small initial steps could include simple changes such as
      passing the pair to DWARFCompileUnit's ctor rather than passing the data
      and relocs separately. I don't intend to pursue any such changes
      immediately, however.
      
      The motivation for doing this now is that type unit dumping will need to
      deal with these data+reloc pairs moreso than the existing dumping
      support has needed to associate the data as type unit sections are named
      the same (debug_types) and comdat group folded. So to implement dumping
      and reloc handling we'll need a mapping of section->data+relocs.
      
      llvm-svn: 191209
      1b5ee5d9
  11. Sep 22, 2013
  12. Sep 20, 2013
  13. Aug 27, 2013
    • Alexey Samsonov's avatar
      Add support for DebugFission to DWARF parser · e3ba81bf
      Alexey Samsonov authored
      Summary:
      1) Make llvm-symbolizer properly symbolize
      files with split debug info (by using stanalone .dwo files).
      2) Make DWARFCompileUnit parse and store corresponding .dwo file,
      if necessary.
      3) Make bits of DWARF parsing more CompileUnit-oriented.
      
      Reviewers: echristo
      
      Reviewed By: echristo
      
      CC: bkramer, llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1164
      
      llvm-svn: 189329
      e3ba81bf
  14. Aug 23, 2013
  15. Aug 19, 2013
  16. Aug 06, 2013
  17. Jul 15, 2013
  18. Jun 19, 2013
  19. 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
  20. 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
Loading