]> granicus.if.org Git - llvm/commit
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)
commit83cc1fca7fff564d7587ca5103055d863c3585bb
treea14f63b5e48525435c9a31f91cf8cdecf807b19b
parent77a842c0a2f188f2d9b41b46aac9539937949535
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

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