+ if (DumpType == DIDT_All || DumpType == DIDT_CUIndex) {
+ OS << "\n.debug_cu_index contents:\n";
+ DataExtractor CUIndexData(getCUIndexSection(), isLittleEndian(),
+ savedAddressByteSize);
+ DWARFUnitIndex CUIndex;
+ if (CUIndex.parse(CUIndexData))
+ CUIndex.dump(OS);
+ }
+
+ if (DumpType == DIDT_All || DumpType == DIDT_TUIndex) {
+ OS << "\n.debug_tu_index contents:\n";
+ DataExtractor TUIndexData(getTUIndexSection(), isLittleEndian(),
+ savedAddressByteSize);
+ DWARFUnitIndex TUIndex;
+ if (TUIndex.parse(TUIndexData))
+ TUIndex.dump(OS);
+ }
+