OSDN Git Service

Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]
authorAdrian McCarthy <amccarth@google.com>
Thu, 16 Mar 2017 22:28:39 +0000 (22:28 +0000)
committerAdrian McCarthy <amccarth@google.com>
Thu, 16 Mar 2017 22:28:39 +0000 (22:28 +0000)
commit5fa4774559d7d68deaf9234d424db9efa11322f0
treea957b56d1fd8f88b39c600118b98c6e1545f4599
parentc33642eea7743d636bce1781a3adfaef5e9ee351
Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]

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.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298005 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]