mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 05:13:01 +00:00
Unbreak Clang build after r191050: don't pass a StringRef to snprintf.
llvm-svn: 191062
This commit is contained in:
parent
8dd7f9c9a7
commit
255a969b21
@ -135,8 +135,9 @@ void DWARFContext::dump(raw_ostream &OS, DIDumpType DumpType) {
|
||||
break;
|
||||
PubIndexEntryDescriptor desc(pubNames.getU8(&offset));
|
||||
OS << format("0x%8.8x ", dieRef)
|
||||
<< format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage))
|
||||
<< ' ' << dwarf::GDBIndexEntryKindString(desc.Kind) << " \""
|
||||
<< format("%-8s", dwarf::GDBIndexEntryLinkageString(desc.Linkage)
|
||||
.str().c_str()) << ' '
|
||||
<< dwarf::GDBIndexEntryKindString(desc.Kind) << " \""
|
||||
<< pubNames.getCStr(&offset) << "\"\n";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user