summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* General usability improvements to generic PDB library.Zachary Turner2017-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | 1. Added some asserts to make sure concrete symbol types don't get constructed with RawSymbols that have an incompatible SymTag enum value. 2. Added new forwarding macros that auto-define an Id/Sym method pair whenever there is a method that returns a SymIndexId. Previously we would just provide one method that returned only the SymIndexId and it was up to the caller to use the Session object to get a pointer to the symbol. Now we automatically get both the method that returns the Id, as well as a method that returns the pointer directly with just one macro. 3. Added some methods for dumping straight to stdout that can be used from inside the debugger for diagnostics during a debug session. 4. Added a clone() method and a cast<T>() method to PDBSymbol that can shorten some usage patterns. llvm-svn: 299831
* Move pdb code into pdb namespace.Zachary Turner2016-05-041-0/+1
| | | | llvm-svn: 268544
* [llvm-pdbdump] Clean up method signatures.Zachary Turner2015-03-011-3/+2
| | | | llvm-svn: 230889
* [llvm-pdbdump] Rewrite dumper using visitor pattern.Zachary Turner2015-02-221-2/+4
| | | | | | | | | | 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
* llvm-pdbdump: Add flags controlling the type of values to dump.Zachary Turner2015-02-151-1/+1
| | | | llvm-svn: 229330
* llvm-pdbdump: Re-order header files according to LLVM style guide.Zachary Turner2015-02-141-1/+3
| | | | llvm-svn: 229231
* Re-sort #include lines using my handy dandy ./utils/sort_includes.pyChandler Carruth2015-02-131-2/+1
| | | | | | script. This is in preparation for changes to lots of include lines. llvm-svn: 229088
* Rewrite llvm-pdbdump in terms of LLVMDebugInfoPDB.Zachary Turner2015-02-101-1/+2
| | | | | | | | | | | | | This makes llvm-pdbdump available on all platforms, although it will currently fail to create a dumper if there is no PDB reader implementation for the current platform. It implements dumping of compilands and children, which is less information than was previously available, but it has to be rewritten from scratch using the new set of interfaces, so the rest of the functionality will be added back in subsequent commits. llvm-svn: 228755
* Make PDBSymbol's IPDBSymbol reference const.Zachary Turner2015-02-081-1/+1
| | | | llvm-svn: 228553
* DebugInfoPDB: Make the symbol base case hold an IPDBSession ref.Zachary Turner2015-02-081-2/+3
| | | | | | | | | Dumping a symbol often requires access to data that isn't inside the symbol hierarchy, but which is only accessible through the top-level session. This patch is a pure interface change to give symbols a reference to the session. llvm-svn: 228542
* Some cleanup for libpdb.Zachary Turner2015-02-081-0/+20
This patch implements a few of the optional suggestions from the initial patch comitting libpdb. In particular, it implements a virtual function out of line for each of the concrete classes. A few other minor cleanups exist as well, such as using override instead of virtual, etc. llvm-svn: 228516
OpenPOWER on IntegriCloud