[llvm-exegesis] Improve Register Setup.
[llvm-core.git] / test / tools / llvm-pdbdump / enum-layout.test
blob5813321f000d8a76d5d8a49e928939303149c027
1 ; RUN: llvm-pdbutil pretty -types %p/Inputs/ClassLayoutTest.pdb > %t
2 ; RUN: FileCheck -input-file=%t %s -check-prefix=GLOBAL_ENUM
3 ; RUN: FileCheck -input-file=%t %s -check-prefix=MEMBER_ENUM
5 ; GLOBAL_ENUM: ---TYPES---
6 ; GLOBAL_ENUM: Enums:
7 ; GLOBAL_ENUM: enum GlobalsTest::Enum {
8 ; GLOBAL_ENUM-NEXT: Val1 = 0
9 ; GLOBAL_ENUM-NEXT: }
11 ; MEMBER_ENUM: ---TYPES---
12 ; MEMBER_ENUM: Classes:
13 ; MEMBER_ENUM: struct __vc_attributes::threadingAttribute [sizeof = 4] {
14 ; MEMBER_ENUM-NEXT: enum threading_e {
15 ; MEMBER_ENUM-NEXT: apartment = 1
16 ; MEMBER_ENUM-NEXT: single = 2
17 ; MEMBER_ENUM-NEXT: free = 3
18 ; MEMBER_ENUM-NEXT: neutral = 4
19 ; MEMBER_ENUM-NEXT: both = 5
20 ; MEMBER_ENUM-NEXT: }