PR21189: Teach llvm-readobj to dump bits of COFF symbol subsections required to debug...
[oota-llvm.git] / include / llvm / Support / COFF.h
index 1bfb7f7443334a5fe03d6e9f186b2df7c4dfd855..86698e3c5a2716249e41ed9c0393bfeb733dc37d 100644 (file)
@@ -662,9 +662,14 @@ namespace COFF {
 
   enum CodeViewLineTableIdentifiers {
     DEBUG_SECTION_MAGIC           = 0x4,
+    DEBUG_SYMBOL_SUBSECTION       = 0xF1,
     DEBUG_LINE_TABLE_SUBSECTION   = 0xF2,
     DEBUG_STRING_TABLE_SUBSECTION = 0xF3,
-    DEBUG_INDEX_SUBSECTION        = 0xF4
+    DEBUG_INDEX_SUBSECTION        = 0xF4,
+
+    // Symbol subsections are split into records of different types.
+    DEBUG_SYMBOL_TYPE_PROC_START = 0x1147,
+    DEBUG_SYMBOL_TYPE_PROC_END   = 0x114F
   };
 
   inline bool isReservedSectionNumber(int32_t SectionNumber) {