forked from OSchip/llvm-project
[llvm-pdbdump] Dump raw stream contents as binary block.
Dumping it as ASCII makes it fairly useless. llvm-svn: 270742
This commit is contained in:
parent
4fb996e82d
commit
d8ca0522e7
|
@ -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