Running "llvm-pdbutil dump -all" on linux (using the native PDB reader), over a few PDBs pulled from the Microsoft public symbol store uncovered a few small issues: - stripped PDBs might not have the strings stream (/names) - stripped PDBs might not have the "module info" stream Differential Revision: https://reviews.llvm.org/D54006 llvm-svn: 346010
23 lines
693 B
Plaintext
23 lines
693 B
Plaintext
; REQUIRES: diasdk
|
|
|
|
; RUN: llvm-pdbutil pretty -types %p/Inputs/ClassLayoutTest.pdb > %t
|
|
; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBAL_ENUM
|
|
; RUN: FileCheck -input-file=%t %s -check-prefix=MEMBER_ENUM
|
|
|
|
; GLOBAL_ENUM: ---TYPES---
|
|
; GLOBAL_ENUM: Enums:
|
|
; GLOBAL_ENUM: enum GlobalsTest::Enum {
|
|
; GLOBAL_ENUM-NEXT: Val1 = 0
|
|
; GLOBAL_ENUM-NEXT: }
|
|
|
|
; MEMBER_ENUM: ---TYPES---
|
|
; MEMBER_ENUM: Classes:
|
|
; MEMBER_ENUM: struct __vc_attributes::threadingAttribute [sizeof = 4] {
|
|
; MEMBER_ENUM-NEXT: enum threading_e {
|
|
; MEMBER_ENUM-NEXT: apartment = 1
|
|
; MEMBER_ENUM-NEXT: single = 2
|
|
; MEMBER_ENUM-NEXT: free = 3
|
|
; MEMBER_ENUM-NEXT: neutral = 4
|
|
; MEMBER_ENUM-NEXT: both = 5
|
|
; MEMBER_ENUM-NEXT: }
|