summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ScopedPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant includes from lib/Support.Michael Zolotukhin2017-12-131-1/+0
| | | | llvm-svn: 320627
* [llvm-pdbdump] Allow printing only a portion of a stream.Zachary Turner2017-04-281-2/+4
| | | | | | | | | | | | When dumping raw data from a stream, you might know the offset of a certain record you're interested in, as well as how long that record is. Previously, you had to dump the entire stream and wade through the bytes to find the interesting record. This patch allows you to specify an offset and length on the command line, and it will only dump the requested range. llvm-svn: 301607
* [Support] Improve flexibility of binary blob formatter.Zachary Turner2016-11-101-33/+6
| | | | | | | | | | | This makes it possible to indent a binary blob by a certain number of bytes, and also makes some things more idiomatic. Finally, it integrates this binary blob formatter into ScopedPrinter which used to have its own implementation of this algorithm. Differential Revision: https://reviews.llvm.org/D26477 llvm-svn: 286495
* Move llvm-readobj/StreamWriter to Support.Zachary Turner2016-05-031-0/+72
We wish to re-use this from llvm-pdbdump, and it provides a nice way to print structured data in scoped format that could prove useful for many other dumping tools as well. Moving to support and changing name to ScopedPrinter to better reflect its purpose. llvm-svn: 268342
OpenPOWER on IntegriCloud