Skip to content
  1. Oct 29, 2013
    • Manman Ren's avatar
      Debug Info: use createAndAddDIE to wrap around "new DIE" in DwarfDebug. · 4a841a86
      Manman Ren authored
      This commit ensures DIEs are constructed within a compile unit and
      immediately added to their parents.
      
      Reviewed off-list by Eric.
      
      llvm-svn: 193568
      4a841a86
    • Manman Ren's avatar
      Debug Info: use createAndAddDIE for newly-created Subprogram DIEs. · 73d697c6
      Manman Ren authored
      More patches will be submitted to convert "new DIE(" to use createAddAndDIE in
      DwarfCompileUnit.cpp. This will simplify implementation of addDIEEntry where
      we have to decide between ref4 and ref_addr, because DIEs that can be shared
      across CU will be added to a CU already.
      
      Reviewed off-list by Eric.
      
      llvm-svn: 193567
      73d697c6
    • Manman Ren's avatar
      Debug Info: add a helper function createAndAddDIE. · b987e517
      Manman Ren authored
      It wraps around "new DIE(" and handles the bookkeeping part of the newly-created
      DIE. It adds the DIE to its parent, and calls insertDIE if necessary. It makes
      sure that bookkeeping is done at the earliest time and we should not see
      parentless DIEs if all constructions of DIEs go through this helper function.
      
      Later on, we can use an allocator for DIE allocation, and will only need to
      change createAndAddDIE instead of modifying all the "new DIE(".
      
      Reviewed off-list by Eric.
      
      llvm-svn: 193566
      b987e517
  2. Oct 25, 2013
  3. Oct 24, 2013
  4. Oct 23, 2013
  5. Oct 22, 2013
  6. Oct 21, 2013
  7. Oct 20, 2013
    • Peter Collingbourne's avatar
      Emit prefix data after debug and EH directives. · e9f45e25
      Peter Collingbourne authored
      This ensures that the prefix data is treated as part of the function for
      the purpose of debug info.  This provides a better debugging experience,
      among other things by allowing a debug info client to correctly look up
      a function in debug info given a function pointer.
      
      llvm-svn: 193042
      e9f45e25
  8. Oct 19, 2013
  9. Oct 18, 2013
Loading