28 lines · yaml
1# RUN: yaml2obj %s -o %t.dxbc2# RUN: not llvm-objcopy --dump-section=FKE0=%t.fek0 %t.dxbc 2>&1 | FileCheck %s --check-prefix=CHECK-ZEROSIZE -DFILE=%t.fek03# RUN: not llvm-objcopy --dump-section=FKE3=%t.fek1 %t.dxbc 2>&1 | FileCheck %s --check-prefix=CHECK-MISSING -DFILE=%t.fek14# RUN: not llvm-objcopy --dump-section=FKE2=%t/does_not_exist/.fek2 %t.dxbc 2>&1 | FileCheck %s --check-prefix=CHECK-BAD-PATH -DFILE=%t/does_not_exist/.fek2 -DMSG=%errc_ENOENT5 6# CHECK-ZEROSIZE: error: '[[FILE]]': part 'FKE0' is empty7# CHECK-MISSING: error: '[[FILE]]': part 'FKE3' not found8# CHECK-BAD-PATH: error: '[[FILE]]': [[MSG]]9 10--- !dxcontainer11Header:12 Hash: [ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,13 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 ]14 Version:15 Major: 116 Minor: 017 FileSize: 10818 PartCount: 319 PartOffsets: [ 60, 68, 76 ]20Parts:21 - Name: FKE022 Size: 023 - Name: FKE124 Size: 025 - Name: FKE226 Size: 827...28