summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ScopedPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [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