Skip to content
  1. Sep 09, 2013
    • Manman Ren's avatar
      Debug Info: Move isSubprogramContext from DebugInfo to DwarfDebug. · 3eb9dffc
      Manman Ren authored
      This helper function needs the type identifier map when we switch
      DIType::getContext to return DIScopeRef instead of DIScope.
      
      Since isSubprogramContext is used by DwarfDebug only, We move it to DwarfDebug
      to have easy access to the map.
      
      llvm-svn: 190325
      3eb9dffc
    • Manman Ren's avatar
      Debug Info: Rename DITypeRef to DIScopeRef. · 856191b0
      Manman Ren authored
      A reference to a scope is more general than a reference to a type since
      DIType is a subclass of DIScope.
      
      A reference to a type can be either an identifier for the type or
      the DIType itself, while a reference to a scope can be either an
      identifier for the type (when the scope is indeed a type) or the
      DIScope itself. A reference to a type and a reference to a scope
      will be resolved in the same way. The only difference is in the
      verifier when a field is a reference to a type (i.e. the containing
      type field of a DICompositeType) or a field is a reference to a scope
      (i.e. the context field of a DIType).
      
      This is to get ready for switching DIType::getContext to return
      DIScopeRef instead of DIScope.
      
      Tighten up isTypeRef and isScopeRef to make sure the identifier is not
      empty and the MDNode is DIType for TypeRef and DIScope for ScopeRef.
      
      llvm-svn: 190322
      856191b0
  2. Sep 05, 2013
    • Manman Ren's avatar
      Debug Info: Use identifier to reference DIType in base type field of · 60352032
      Manman Ren authored
      ptr_to_member.
      
      We introduce a new class DITypeRef that represents a reference to a DIType.
      It wraps around a Value*, which can be either an identifier in MDString
      or an actual MDNode. The class has a helper function "resolve" that
      finds the actual MDNode for a given DITypeRef.
      
      We specialize getFieldAs to return a field that is a reference to a
      DIType. To correctly access the base type field of ptr_to_member,
      getClassType now calls getFieldAs<DITypeRef> to return a DITypeRef.
      
      Also add a typedef for DITypeIdentifierMap and a helper
      generateDITypeIdentifierMap in DebugInfo.h. In DwarfDebug.cpp, we keep
      a DITypeIdentifierMap and call generateDITypeIdentifierMap to actually
      populate the map.
      
      Verifier is updated accordingly.
      
      llvm-svn: 190081
      60352032
    • Eric Christopher's avatar
      Move accelerator table defines and constants to Dwarf.h since · cf7289f6
      Eric Christopher authored
      we're proposing it for DWARF5.
      
      No functional change intended.
      
      llvm-svn: 190074
      cf7289f6
    • Eric Christopher's avatar
      Remove hack ensuring that darwin didn't produce dwarf > 3 for modules · e31e072c
      Eric Christopher authored
      without a limiting factor.
      
      Update all testcases accordingly.
      
      llvm-svn: 190002
      e31e072c
  3. Sep 04, 2013
  4. Aug 30, 2013
  5. Aug 28, 2013
  6. Aug 27, 2013
  7. Aug 26, 2013
  8. Aug 24, 2013
  9. Aug 21, 2013
  10. Aug 19, 2013
  11. Aug 13, 2013
  12. Aug 12, 2013
  13. Aug 09, 2013
  14. Aug 08, 2013
  15. Aug 07, 2013
  16. Aug 06, 2013
Loading