[PATCH] D34479: Add IDs and clone methods to NativeRawSymbol

Adrian McCarthy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 14:57:21 PDT 2017


amccarth created this revision.
Herald added a subscriber: hiraditya.

All NativeRawSymbols will have a unique symbol ID (retrievable via getSymIndexId).  For now, these are initialized to 0, but soon the NativeSession will be responsible for creating the raw symbols, and it will assign unique IDs.

The symbol cache in the NativeSession will also require the ability to clone raw symbols, so I've provided implementations for that as well.


https://reviews.llvm.org/D34479

Files:
  llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h
  llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h
  llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
  llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeEnumModules.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
  llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34479.103470.patch
Type: text/x-patch
Size: 5936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170621/a3cdd11a/attachment.bin>


More information about the llvm-commits mailing list