Re-land: Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]
authorAdrian McCarthy <amccarth@google.com>
Thu, 23 Mar 2017 16:45:20 +0000 (16:45 +0000)
committerAdrian McCarthy <amccarth@google.com>
Thu, 23 Mar 2017 16:45:20 +0000 (16:45 +0000)
commit997a15c3c3cab3c357f63a89ab774a84289b3e09
tree843933320a0e0c4e12175b4c0f2f3f5d756ea451
parenta9876cafe2363800bc928cfe3541c158a98f7074
Re-land:  Make NativeExeSymbol a concrete subclass of NativeRawSymbol [PDB]

The new test should pass on all platforms now that llvm-pdbdump has the
`-color-output` option.

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

llvm-svn: 298623
llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h [new file with mode: 0644]
llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h
llvm/lib/DebugInfo/PDB/CMakeLists.txt
llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp [new file with mode: 0644]
llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp
llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
llvm/test/DebugInfo/PDB/Native/pdb-native-summary.test [new file with mode: 0644]