diff options
author | Zachary Turner <zturner@google.com> | 2017-06-23 19:54:44 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-23 19:54:44 +0000 |
commit | 6b124f29e727da3f3d27112b7ded82b404a68b2f (patch) | |
tree | 114ef7bf288195112e97ded242f269477dd82eb4 /llvm/tools/llvm-pdbutil/BytesOutputStyle.h | |
parent | 717021772bc8b4b1ee01c340daa0a718aa0059fb (diff) | |
download | bcm5719-llvm-6b124f29e727da3f3d27112b7ded82b404a68b2f.tar.gz bcm5719-llvm-6b124f29e727da3f3d27112b7ded82b404a68b2f.zip |
[llvm-pdbutil] Add the ability to dump raw bytes from the file.
Normally we can only make sense of the content of a PDB in terms
of streams and blocks, but in some cases it may be useful to dump
bytes at a specific absolute file offset. For example, if you
know that some interesting data is at a particular location and
you want to see some surrounding data.
llvm-svn: 306146
Diffstat (limited to 'llvm/tools/llvm-pdbutil/BytesOutputStyle.h')
-rw-r--r-- | llvm/tools/llvm-pdbutil/BytesOutputStyle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbutil/BytesOutputStyle.h b/llvm/tools/llvm-pdbutil/BytesOutputStyle.h index 7fd35e7860b..a2cefbbfb4c 100644 --- a/llvm/tools/llvm-pdbutil/BytesOutputStyle.h +++ b/llvm/tools/llvm-pdbutil/BytesOutputStyle.h @@ -29,6 +29,7 @@ public: private: void dumpBlockRanges(uint32_t Min, uint32_t Max); + void dumpByteRanges(uint32_t Min, uint32_t Max); void dumpStreamBytes(); PDBFile &File; |