summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/LinePrinter.h
Commit message (Collapse)AuthorAgeFilesLines
* Move pdb code into pdb namespace.Zachary Turner2016-05-041-0/+2
| | | | llvm-svn: 268544
* llvm-pdbdump: Simplify. NFC.Rui Ueyama2015-11-031-2/+1
| | | | llvm-svn: 251873
* [llvm-pdbdump] Add include-only filters.Zachary Turner2015-09-291-3/+7
| | | | | | | | | | | | | | | | PDB files have a lot of noise in them, with hundreds (or thousands) of symbols from system libraries and compiler generated types. If you're only looking for a specific type, this can be problematic. This CL allows you to display *only* types, variables, or compilands matching a particular pattern. These filters can even be combined with exclude filters. Include-only filters are given priority, so that first the set of items to display is limited only to those that match the include filters, and then the set of exclude filters is applied to those. If there are no include filters specified, then it means "display everything". llvm-svn: 248822
* Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial typesBenjamin Kramer2015-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | If the type isn't trivially moveable emplace can skip a potentially expensive move. It also saves a couple of characters. Call sites were found with the ASTMatcher + some semi-automated cleanup. memberCallExpr( argumentCountIs(1), callee(methodDecl(hasName("push_back"))), on(hasType(recordDecl(has(namedDecl(hasName("emplace_back")))))), hasArgument(0, bindTemporaryExpr( hasType(recordDecl(hasNonTrivialDestructor())), has(constructExpr()))), unless(isInTemplateInstantiation())) No functional change intended. llvm-svn: 238602
* [llvm-pdbdump] Many minor fixes and improvementsZachary Turner2015-03-021-16/+9
| | | | | | | | | | | | | | | | | A short list of some of the improvements: 1) Now supports -all command line argument, which implies many other command line arguments to simplify usage. 2) Now supports -no-compiler-generated command line argument to exclude compiler generated types. 3) Prints base class list. 4) -class-definitions implies -types. 5) Proper display of bitfields. 6) Can now distinguish between struct/class/interface/union. And a few other minor tweaks. llvm-svn: 230933
* [llvm-pdbdump] Fix GCC build.Zachary Turner2015-03-011-3/+10
| | | | llvm-svn: 230890
* [llvm-pdbdump] Add regex-based filtering.Zachary Turner2015-03-011-1/+21
| | | | llvm-svn: 230888
* [llvm-pdbdump] Colorize output.Zachary Turner2015-02-271-0/+69
llvm-svn: 230746
OpenPOWER on IntegriCloud