Skip to content
  1. Mar 20, 2015
    • Rafael Espindola's avatar
      Don't declare all text sections at the start of the .s · 36a15cb9
      Rafael Espindola authored
      The code this patch removes was there to make sure the text sections went
      before the dwarf sections. That is necessary because MachO uses offsets
      relative to the start of the file, so adding a section can change relaxations.
      
      The dwarf sections were being printed at the start just to produce symbols
      pointing at the start of those sections.
      
      The underlying issue was fixed in r231898. The dwarf sections are now printed
      when they are about to be used, which is after we printed the text sections.
      
      To make sure we don't regress, the patch makes the MachO streamer assert
      if CodeGen puts anything unexpected after the DWARF sections.
      
      llvm-svn: 232842
      36a15cb9
  2. Mar 19, 2015
  3. Mar 18, 2015
  4. Mar 17, 2015
  5. Mar 16, 2015
  6. Mar 15, 2015
    • Frederic Riss's avatar
      [dsymutil] Add missing raw_svector_stream::resync() calls. · c3820d09
      Frederic Riss authored
      Also, after looking at the raw_svector_stream internals, increase the
      size of the SmallString used with it to prevent heap allocation.
      
      Issue found by the Asan bot.
      
      llvm-svn: 232335
      c3820d09
    • Frederic Riss's avatar
      [dsymutil] Add support for linking line tables. · 63786b01
      Frederic Riss authored
      This code comes with a lot of cruft that is meant to mimic darwin's
      dsymutil behavior. A much simpler approach (described in the numerous
      FIXMEs that I put in there) gives the right output for the vast
      majority of cases. The extra corner cases that are handled differently
      need to be investigated: they seem to correctly handle debug info that
      is in the input, but that info looks suspicious in the first place.
      
      Anyway, the current code needs to handle this, but I plan to revisit it
      as soon as the big round of validation against the classic dsymutil is
      over.
      
      llvm-svn: 232333
      63786b01
    • Frederic Riss's avatar
      [dsymutil] Add an way to iterate over a DebugMapObject symbols. · b0464089
      Frederic Riss authored
      llvm-svn: 232305
      b0464089
    • David Majnemer's avatar
      llvm-cxxdump: Rename llvm-vtabledump to llvm-cxxdump · f45bbd0d
      David Majnemer authored
      llvm-vtabledump has grown enough functionality not related to vtables
      that it deserves a name which is more descriptive.
      
      llvm-svn: 232301
      f45bbd0d
    • Frederic Riss's avatar
      [dsymutil] Add function size to the debug map. · 912d0f12
      Frederic Riss authored
      The debug map embedded by ld64 in binaries conatins function sizes.
      These sizes are less precise than the ones given by the debug information
      (byte granularity vs linker atom granularity), but they might cover code
      that is referenced in the line table but not in the DIE tree (that might
      very well be a compiler bug that I need to investigate later).
      Anyway, extracting that information is necessary to be able to mimic
      dsymutil's behavior exactly.
      
      llvm-svn: 232300
      912d0f12
  7. Mar 14, 2015
  8. Mar 13, 2015
  9. Mar 12, 2015
Loading