[BinaryFormat:Dwarf] Add a couple of DW_IDX_GCC extensions
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 27 Oct 2022 19:35:04 +0000 (19:35 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 27 Oct 2022 20:38:06 +0000 (20:38 +0000)
Seen here:
https://github.com/gcc-mirror/gcc/blob/16e2427f50c208dfe07d07f18009969502c25dc8/include/dwarf2.def#L805-L806

llvm/include/llvm/BinaryFormat/Dwarf.def

index 7eeb93d..bdd7172 100644 (file)
@@ -1207,6 +1207,8 @@ HANDLE_DW_IDX(0x02, type_unit)
 HANDLE_DW_IDX(0x03, die_offset)
 HANDLE_DW_IDX(0x04, parent)
 HANDLE_DW_IDX(0x05, type_hash)
+HANDLE_DW_IDX(0x2000, GNU_internal)
+HANDLE_DW_IDX(0x2001, GNU_external)
 
 // DWARF package file section identifiers.
 // DWARFv5, section 7.3.5.3, table 7.1.