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)
commit4d93d66ddda16cd8589559a9102231a27fc5e523
tree8dd30e2b9212276ef30a5e69e9ea9a999e347e7e
parentb26bc7fddcec7ee0f903573138e99f73dc561062
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

llvm-svn: 299019
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]