llvm/test/DebugInfo/PDB/Native/pdb-native-summary.test
Adrian McCarthy b92b951964 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
2017-03-29 19:27:08 +00:00

12 lines
449 B
Plaintext

; Test that the native PDB reader gets the PDB summary correct.
; RUN: llvm-pdbdump pretty -native -color-output=false %p/../Inputs/empty.pdb \
; RUN: | FileCheck -check-prefix=EMPTY %s
; Reference output was generated with the DIA reader to ensure that the
; `-native` option produces identical output.
; EMPTY: Size: 102400 bytes
; EMPTY: Guid: {0B355641-86A0-A249-896F-9988FAE52FF0}
; EMPTY: Age: 1
; EMPTY: Attributes: HasPrivateSymbols