summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-09 18:17:52 +0000
committerZachary Turner <zturner@google.com>2016-09-09 18:17:52 +0000
commit72c5b6451f469077934e755a42e4e72bedbb00f1 (patch)
tree697e90b82e5374efdb239312adc0a70ccf1d30c3 /llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
parent47320da1ee9191afb1952c8fd8838548d319dfe2 (diff)
downloadbcm5719-llvm-72c5b6451f469077934e755a42e4e72bedbb00f1.tar.gz
bcm5719-llvm-72c5b6451f469077934e755a42e4e72bedbb00f1.zip
[pdb] Add command line options for dumping individual streams and blocks
I ran into a situation where I wanted to print out the contents of page 6 of a PDB as a binary blob, and there was no straightforward way to do that. In addition to adding that, this patch also adds the ability to dump a stream by index as a binary blob, and it will stitch together all the blocks and dump the whole thing as one seemingly contiguous sequence of bytes. llvm-svn: 281070
Diffstat (limited to 'llvm/tools/llvm-pdbdump/LLVMOutputStyle.h')
-rw-r--r--llvm/tools/llvm-pdbdump/LLVMOutputStyle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-pdbdump/LLVMOutputStyle.h b/llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
index be6b12f07a6..94430252f97 100644
--- a/llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
+++ b/llvm/tools/llvm-pdbdump/LLVMOutputStyle.h
@@ -28,10 +28,10 @@ private:
Error dumpFileHeaders();
Error dumpStreamSummary();
Error dumpFreePageMap();
+ Error dumpBlockRanges();
+ Error dumpStreamBytes();
Error dumpStreamBlocks();
- Error dumpStreamData();
Error dumpInfoStream();
- Error dumpNamedStream();
Error dumpTpiStream(uint32_t StreamIdx);
Error dumpDbiStream();
Error dumpSectionContribs();
OpenPOWER on IntegriCloud