mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
[llvm-pdbdump] Dump raw stream contents as binary block.
Dumping it as ASCII makes it fairly useless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270742 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b7ac01da2
commit
f50e8cdfbd
@ -350,8 +350,9 @@ static Error dumpStreamData(ScopedPrinter &P, PDBFile &File) {
|
||||
R.bytesRemaining(), static_cast<uint32_t>(File.getBlockSize()));
|
||||
if (auto EC = R.getArrayRef(Data, BytesToReadInBlock))
|
||||
return EC;
|
||||
outs() << StringRef(reinterpret_cast<const char *>(Data.begin()),
|
||||
Data.size());
|
||||
P.printBinaryBlock(
|
||||
"Data",
|
||||
StringRef(reinterpret_cast<const char *>(Data.begin()), Data.size()));
|
||||
}
|
||||
return Error::success();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user