llvm/llvm/test/tools/obj2yaml/DXContainer/ShaderHash.yaml

# RUN: yaml2obj %s | obj2yaml | FileCheck %s 

--- !dxcontainer
Header:
  Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
                     0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
  Version:
    Major:           1
    Minor:           0
  PartCount:       1
Parts:
  - Name:            HASH
    Size:            20
    Hash:
      IncludesSource:  true
      Digest:          [ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 
                         0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80 ]
...

# CHECK: --- !dxcontainer
# CHECK-NEXT: Header:
# CHECK-NEXT:   Hash:            [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
# CHECK-NEXT:                      0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]
# CHECK:        FileSize:        64
# CHECK-NEXT:   PartCount:       1
# CHECK-NEXT:   PartOffsets:     [ 36 ]
# CHECK:        - Name:            HASH
# CHECK-NEXT:     Size:            20
# CHECK-NEXT:     Hash:
# CHECK-NEXT:       IncludesSource:  true
# CHECK-NEXT:       Digest:          [ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x10,
# CHECK-NEXT:                          0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80 ]
# CHECK-NEXT: ...