Emit pubtypes.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89725 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index a4afa05..01d0e3c 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -310,6 +310,8 @@
   /// addType - Add a new type attribute to the specified entity.
   void addType(CompileUnit *DW_Unit, DIE *Entity, DIType Ty);
 
+  void addPubTypes(DISubprogram SP);
+
   /// constructTypeDIE - Construct basic type die from DIBasicType.
   void constructTypeDIE(CompileUnit *DW_Unit, DIE &Buffer,
                         DIBasicType BTy);
@@ -436,6 +438,10 @@
   ///
   void emitDebugPubNames();
 
+  /// emitDebugPubTypes - Emit visible types into a debug pubtypes section.
+  ///
+  void emitDebugPubTypes();
+
   /// emitDebugStr - Emit visible names into a debug str section.
   ///
   void emitDebugStr();