llvm.org GIT mirror llvm / f880947
Slight formatting change for pubnames/pubtypes output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191401 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3636 OS << "Version: " << pubNames.getU16(&offset) << "\n";
3737 OS << "Offset in .debug_info: " << pubNames.getU32(&offset) << "\n";
3838 OS << "Size: " << pubNames.getU32(&offset) << "\n";
39 OS << "Offset Linkage Kind Name\n";
39 OS << "Offset Linkage Kind Name\n";
4040 while (offset < Data.size()) {
4141 uint32_t dieRef = pubNames.getU32(&offset);
4242 if (dieRef == 0)
4444 PubIndexEntryDescriptor desc(pubNames.getU8(&offset));
4545 OS << format("0x%8.8x ", dieRef)
4646 << format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage)) << ' '
47 << format("%-8s", dwarf::GDBIndexEntryKindString(desc.Kind)) << '\"'
48 << pubNames.getCStr(&offset) << "\"\n";
47 << format("%-8s", dwarf::GDBIndexEntryKindString(desc.Kind)) << ' '
48 << '\"' << pubNames.getCStr(&offset) << "\"\n";
4949 }
5050 }
5151