]> granicus.if.org Git - llvm/commit
Re-land: "Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]"
authorAdrian McCarthy <amccarth@google.com>
Wed, 29 Mar 2017 19:27:08 +0000 (19:27 +0000)
committerAdrian McCarthy <amccarth@google.com>
Wed, 29 Mar 2017 19:27:08 +0000 (19:27 +0000)
commitb92b951964dc74ae977da1bff19e6737f5dd3728
tree7c0e20730ea0fdf48be6164d3441dfa46cb844bf
parent72b6f29aab2470ab3bdb0ac58b13cc56dcd89731
Re-land: "Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]"

This should work on all platforms now that r299006 has landed.  Tested locally
on Windows and Linux.

This moves exe symbol-specific method implementations out of NativeRawSymbol
into a concrete subclass. Also adds implementations for hasCTypes and
hasPrivateSymbols and a simple test to ensure the native reader can access the
summary information for the executable from the PDB.

Original Differential Revision: https://reviews.llvm.org/D31059

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299019 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h [new file with mode: 0644]
include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
lib/DebugInfo/PDB/CMakeLists.txt
lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp [new file with mode: 0644]
lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
lib/DebugInfo/PDB/Native/NativeSession.cpp
test/DebugInfo/PDB/Native/pdb-native-summary.test [new file with mode: 0644]