Untabify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181247 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2013-05-06 21:19:41 +00:00
parent d87dceb8d6
commit 5a0c366b1f

View File

@ -121,7 +121,7 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
if (getNumDWOCompileUnits()) { if (getNumDWOCompileUnits()) {
OS << "\n.debug_info.dwo contents:\n"; OS << "\n.debug_info.dwo contents:\n";
for (unsigned i = 0, e = getNumDWOCompileUnits(); i != e; ++i) for (unsigned i = 0, e = getNumDWOCompileUnits(); i != e; ++i)
getDWOCompileUnitAtIndex(i)->dump(OS); getDWOCompileUnitAtIndex(i)->dump(OS);
} }
if (DumpType == DIDT_All || DumpType == DIDT_StrDwo) if (DumpType == DIDT_All || DumpType == DIDT_StrDwo)
@ -131,8 +131,8 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
offset = 0; offset = 0;
uint32_t strDWOOffset = 0; uint32_t strDWOOffset = 0;
while (const char *s = strDWOData.getCStr(&offset)) { while (const char *s = strDWOData.getCStr(&offset)) {
OS << format("0x%8.8x: \"%s\"\n", strDWOOffset, s); OS << format("0x%8.8x: \"%s\"\n", strDWOOffset, s);
strDWOOffset = offset; strDWOOffset = offset;
} }
} }
@ -142,8 +142,8 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), 0); DataExtractor strOffsetExt(getStringOffsetDWOSection(), isLittleEndian(), 0);
offset = 0; offset = 0;
while (offset < getStringOffsetDWOSection().size()) { while (offset < getStringOffsetDWOSection().size()) {
OS << format("0x%8.8x: ", offset); OS << format("0x%8.8x: ", offset);
OS << format("%8.8x\n", strOffsetExt.getU32(&offset)); OS << format("%8.8x\n", strOffsetExt.getU32(&offset));
} }
} }
} }