Files
clang-p2996/llvm/test/DebugInfo/PDB/Native/pdb-native-summary.test
Adrian McCarthy 4d93d66ddd 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
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