summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-pdbdump/FunctionDumper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeView/PDB] Rename a bunch of files.Zachary Turner2017-01-111-257/+0
| | | | | | | | | | | We were starting to get some name clashes between llvm-pdbdump and the common CodeView framework, so I took this opportunity to rename a bunch of files to more accurately describe their usage. This also helps in llvm-pdbdump to distinguish between different files and whether they are used for pretty dump mode or raw dump mode. llvm-svn: 291627
* Move pdb code into pdb namespace.Zachary Turner2016-05-041-2/+4
| | | | llvm-svn: 268544
* [readobj] Expand CodeView dumping functionalityReid Kleckner2016-01-131-6/+7
| | | | | | | | | | | | | | | | This rewrites and expands the existing codeview dumping functionality in llvm-readobj using techniques similar to those in lib/Object. This defines a number of new records and enums useful for reading memory mapped codeview sections in COFF objects. The dumper is intended as a testing tool for LLVM as it grows more codeview output capabilities. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D16104 llvm-svn: 257658
* [llvm-pdbdump] Support dynamic load address and external symbols.Zachary Turner2015-05-011-4/+4
| | | | | | | | | | | This patch adds the --load-address command line option to llvm-pdbdump, which dumps all addresses assuming the module has loaded at the specified address. Additionally, this patch adds an option to llvm-pdbdump to support dumping of public symbols (i.e. symbols with external linkage). llvm-svn: 236342
* [llvm-pdbdump] Many minor fixes and improvementsZachary Turner2015-03-021-12/+12
| | | | | | | | | | | | | | | | | 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] Clean up method signatures.Zachary Turner2015-03-011-28/+19
| | | | llvm-svn: 230889
* [llvm-pdbdump] Colorize output.Zachary Turner2015-02-271-62/+82
| | | | llvm-svn: 230746
* [llvm-pdbdump] Fix dumping of function pointers and basic types.Zachary Turner2015-02-261-8/+8
| | | | | | | | | | | | Function pointers were not correctly handled by the dumper, and they would print as "* name". They now print as "int (__cdecl *name)(int arg1, int arg2)" as they should. Also, doubles were being printed as floats. This fixes that bug as well, and adds tests for all builtin types. as well as a test for function pointers. llvm-svn: 230703
* [llvm-pdbdump] Very minor code cleanup.Zachary Turner2015-02-231-3/+1
| | | | | | | This just removes some dead enums as well as some debug flushes of stdout. llvm-svn: 230204
* [llvm-pdbdump] Add an option to dump full class definitions.Zachary Turner2015-02-231-11/+69
| | | | | | | | | | | This adds the --class-definitions flag. If specified, when dumping types, instead of "class Foo" you will see the full class definition, with member functions, constructors, access specifiers. NOTE: Using this option can be very slow, as generating a full class definition requires accessing many different parts of the PDB. llvm-svn: 230203
* llvm-pdbdump: Fix gcc/clang buildDavid Majnemer2015-02-221-1/+1
| | | | llvm-svn: 230187
* [llvm-pdbdump] Fix a few compilation failures.Zachary Turner2015-02-221-2/+2
| | | | llvm-svn: 230186
* [llvm-pdbdump] Rewrite dumper using visitor pattern.Zachary Turner2015-02-221-0/+187
This increases the flexibility of how to dump different symbol types -- necessary for context-sensitive formatting of symbol types -- and also improves the modularity by allowing the dumping to be implemented in the actual dumper, as opposed to in the PDB library. llvm-svn: 230184
OpenPOWER on IntegriCloud