[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-readobj / codeview-merging-anon.test
blobbbc40f9a25e83fa5c037ff8963d1869e2cf2eef1
1 # Test what happens when the first type record (0x1000) is a LF_FIELDLIST
2 # record.
4 # Steps to regenerate input:
5 # $ cat t.c
6 # struct { int x; } o;
7 # $ cl -Z7 t.c
9 RUN: llvm-readobj --codeview %S/Inputs/codeview-merging-anon.obj | FileCheck %s
10 RUN: llvm-readobj --codeview-merged-types %S/Inputs/codeview-merging-anon.obj | FileCheck %s
12 CHECK-LABEL:  FieldList (0x1000) {
13 CHECK-NEXT:     TypeLeafKind: LF_FIELDLIST (0x1203)
14 CHECK-NEXT:     DataMember {
15 CHECK-NEXT:       TypeLeafKind: LF_MEMBER (0x150D)
16 CHECK-NEXT:       AccessSpecifier: Public (0x3)
17 CHECK-NEXT:       Type: int (0x74)
18 CHECK-NEXT:       FieldOffset: 0x0
19 CHECK-NEXT:       Name: x
20 CHECK-NEXT:     }
21 CHECK-NEXT:   }
22 CHECK-LABEL:  Struct (0x1001) {
23 CHECK:          TypeLeafKind: LF_STRUCTURE (0x1505)
24 CHECK:          MemberCount: 1
25 CHECK:          FieldList: <field list> (0x1000)
26 CHECK:          Name: <unnamed-tag>
27 CHECK:          LinkageName: .?AU<unnamed-tag>@@
28 CHECK:        }
29 CHECK-LABEL:  StringId