[PATCH] Initial pass at API design for DebugInfo/PDB

Zachary Turner zturner at google.com
Tue Feb 3 14:50:23 PST 2015


Reworked the class hierarchy per David's suggestions.  Library now should work with llvm::isa<> and llvm::dyn_cast<> instead of relying on custom casting machinery.  This was done by injecting a new base class below all the concrete PDBFunction / etc types.


http://reviews.llvm.org/D7356

Files:
  include/llvm/DebugInfo/PDB/IPDBDataStream.h
  include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
  include/llvm/DebugInfo/PDB/IPDBLineNumber.h
  include/llvm/DebugInfo/PDB/IPDBRawSymbol.h
  include/llvm/DebugInfo/PDB/IPDBSession.h
  include/llvm/DebugInfo/PDB/IPDBSourceFile.h
  include/llvm/DebugInfo/PDB/PDB.h
  include/llvm/DebugInfo/PDB/PDBSymbol.h
  include/llvm/DebugInfo/PDB/PDBSymbolExe.h
  include/llvm/DebugInfo/PDB/PDBSymbolFunc.h
  include/llvm/DebugInfo/PDB/PDBTypes.h
  lib/DebugInfo/CMakeLists.txt
  lib/DebugInfo/LLVMBuild.txt
  lib/DebugInfo/PDB/CMakeLists.txt
  lib/DebugInfo/PDB/LLVMBuild.txt
  lib/DebugInfo/PDB/PDB.cpp
  lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp
  lib/DebugInfo/PDB/PDBSymbol.cpp
  lib/DebugInfo/PDB/PDBSymbolExe.cpp
  lib/DebugInfo/PDB/PDBSymbolFunc.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7356.19275.patch
Type: text/x-patch
Size: 41104 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150203/86dcdb40/attachment.bin>


More information about the llvm-commits mailing list