@@ -1439,19 +1439,32 @@ static lldb::SectionType GetSectionType(uint32_t flags,
1439
1439
static ConstString g_sect_name_cfstring (" __cfstring" );
1440
1440
1441
1441
static ConstString g_sect_name_dwarf_debug_abbrev (" __debug_abbrev" );
1442
+ static ConstString g_sect_name_dwarf_debug_abbrev_dwo (" __debug_abbrev.dwo" );
1443
+ static ConstString g_sect_name_dwarf_debug_addr (" __debug_addr" );
1442
1444
static ConstString g_sect_name_dwarf_debug_aranges (" __debug_aranges" );
1445
+ static ConstString g_sect_name_dwarf_debug_cu_index (" __debug_cu_index" );
1443
1446
static ConstString g_sect_name_dwarf_debug_frame (" __debug_frame" );
1444
1447
static ConstString g_sect_name_dwarf_debug_info (" __debug_info" );
1448
+ static ConstString g_sect_name_dwarf_debug_info_dwo (" __debug_info.dwo" );
1445
1449
static ConstString g_sect_name_dwarf_debug_line (" __debug_line" );
1450
+ static ConstString g_sect_name_dwarf_debug_line_dwo (" __debug_line.dwo" );
1446
1451
static ConstString g_sect_name_dwarf_debug_line_str (" __debug_line_str" );
1447
1452
static ConstString g_sect_name_dwarf_debug_loc (" __debug_loc" );
1448
1453
static ConstString g_sect_name_dwarf_debug_loclists (" __debug_loclists" );
1454
+ static ConstString g_sect_name_dwarf_debug_loclists_dwo (" __debug_loclists.dwo" );
1449
1455
static ConstString g_sect_name_dwarf_debug_macinfo (" __debug_macinfo" );
1456
+ static ConstString g_sect_name_dwarf_debug_macro (" __debug_macro" );
1457
+ static ConstString g_sect_name_dwarf_debug_macro_dwo (" __debug_macro.dwo" );
1450
1458
static ConstString g_sect_name_dwarf_debug_names (" __debug_names" );
1451
1459
static ConstString g_sect_name_dwarf_debug_pubnames (" __debug_pubnames" );
1452
1460
static ConstString g_sect_name_dwarf_debug_pubtypes (" __debug_pubtypes" );
1453
1461
static ConstString g_sect_name_dwarf_debug_ranges (" __debug_ranges" );
1462
+ static ConstString g_sect_name_dwarf_debug_rnglists (" __debug_rnglists" );
1454
1463
static ConstString g_sect_name_dwarf_debug_str (" __debug_str" );
1464
+ static ConstString g_sect_name_dwarf_debug_str_dwo (" __debug_str.dwo" );
1465
+ static ConstString g_sect_name_dwarf_debug_str_offs (" __debug_str_offs" );
1466
+ static ConstString g_sect_name_dwarf_debug_str_offs_dwo (" __debug_str_offs.dwo" );
1467
+ static ConstString g_sect_name_dwarf_debug_tu_index (" __debug_tu_index" );
1455
1468
static ConstString g_sect_name_dwarf_debug_types (" __debug_types" );
1456
1469
static ConstString g_sect_name_dwarf_apple_names (" __apple_names" );
1457
1470
static ConstString g_sect_name_dwarf_apple_types (" __apple_types" );
@@ -1465,22 +1478,38 @@ static lldb::SectionType GetSectionType(uint32_t flags,
1465
1478
1466
1479
if (section_name == g_sect_name_dwarf_debug_abbrev)
1467
1480
return eSectionTypeDWARFDebugAbbrev;
1481
+ if (section_name == g_sect_name_dwarf_debug_abbrev_dwo)
1482
+ return eSectionTypeDWARFDebugAbbrevDwo;
1483
+ if (section_name == g_sect_name_dwarf_debug_addr)
1484
+ return eSectionTypeDWARFDebugAddr;
1468
1485
if (section_name == g_sect_name_dwarf_debug_aranges)
1469
1486
return eSectionTypeDWARFDebugAranges;
1487
+ if (section_name == g_sect_name_dwarf_debug_cu_index)
1488
+ return eSectionTypeDWARFDebugCuIndex;
1470
1489
if (section_name == g_sect_name_dwarf_debug_frame)
1471
1490
return eSectionTypeDWARFDebugFrame;
1472
1491
if (section_name == g_sect_name_dwarf_debug_info)
1473
1492
return eSectionTypeDWARFDebugInfo;
1493
+ if (section_name == g_sect_name_dwarf_debug_info_dwo)
1494
+ return eSectionTypeDWARFDebugInfoDwo;
1474
1495
if (section_name == g_sect_name_dwarf_debug_line)
1475
1496
return eSectionTypeDWARFDebugLine;
1497
+ if (section_name == g_sect_name_dwarf_debug_line_dwo)
1498
+ return eSectionTypeDWARFDebugLine; // Same as debug_line.
1476
1499
if (section_name == g_sect_name_dwarf_debug_line_str)
1477
1500
return eSectionTypeDWARFDebugLineStr;
1478
1501
if (section_name == g_sect_name_dwarf_debug_loc)
1479
1502
return eSectionTypeDWARFDebugLoc;
1480
1503
if (section_name == g_sect_name_dwarf_debug_loclists)
1481
1504
return eSectionTypeDWARFDebugLocLists;
1505
+ if (section_name == g_sect_name_dwarf_debug_loclists_dwo)
1506
+ return eSectionTypeDWARFDebugLocListsDwo;
1482
1507
if (section_name == g_sect_name_dwarf_debug_macinfo)
1483
1508
return eSectionTypeDWARFDebugMacInfo;
1509
+ if (section_name == g_sect_name_dwarf_debug_macro)
1510
+ return eSectionTypeDWARFDebugMacro;
1511
+ if (section_name == g_sect_name_dwarf_debug_macro_dwo)
1512
+ return eSectionTypeDWARFDebugMacInfo; // Same as debug_macro.
1484
1513
if (section_name == g_sect_name_dwarf_debug_names)
1485
1514
return eSectionTypeDWARFDebugNames;
1486
1515
if (section_name == g_sect_name_dwarf_debug_pubnames)
@@ -1489,8 +1518,18 @@ static lldb::SectionType GetSectionType(uint32_t flags,
1489
1518
return eSectionTypeDWARFDebugPubTypes;
1490
1519
if (section_name == g_sect_name_dwarf_debug_ranges)
1491
1520
return eSectionTypeDWARFDebugRanges;
1521
+ if (section_name == g_sect_name_dwarf_debug_rnglists)
1522
+ return eSectionTypeDWARFDebugRngLists;
1492
1523
if (section_name == g_sect_name_dwarf_debug_str)
1493
1524
return eSectionTypeDWARFDebugStr;
1525
+ if (section_name == g_sect_name_dwarf_debug_str_dwo)
1526
+ return eSectionTypeDWARFDebugStrDwo;
1527
+ if (section_name == g_sect_name_dwarf_debug_str_offs)
1528
+ return eSectionTypeDWARFDebugStrOffsets;
1529
+ if (section_name == g_sect_name_dwarf_debug_str_offs_dwo)
1530
+ return eSectionTypeDWARFDebugStrOffsetsDwo;
1531
+ if (section_name == g_sect_name_dwarf_debug_tu_index)
1532
+ return eSectionTypeDWARFDebugTuIndex;
1494
1533
if (section_name == g_sect_name_dwarf_debug_types)
1495
1534
return eSectionTypeDWARFDebugTypes;
1496
1535
if (section_name == g_sect_name_dwarf_apple_names)
0 commit comments