2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-readobj -z -p .a -x .b %t 2>&1 | FileCheck %s -DFILE=%t
5 # CHECK: String dump of section '.a':
6 # CHECK-NEXT: warning: '[[FILE]]': LLVM was not built with LLVM_ENABLE_ZSTD or did not find zstd at build time
10 # CHECK-NEXT: [ 18] (./. ..
13 # CHECK-NEXT: Hex dump of section '.b':
14 # CHECK-NEXT: warning: '[[FILE]]': LLVM was not built with LLVM_ENABLE_ZSTD or did not find zstd at build time
15 # CHECK-NEXT: 0x00000000 02000000 00000000 01000000 00000000 ................
16 # CHECK-NEXT: 0x00000010 01000000 00000000 28b52ffd 20010900 ........(./. ...
17 # CHECK-NEXT: 0x00000020 0001 ..
27 Flags: [SHF_COMPRESSED]
28 Content: 02000000000000000100000000000000010000000000000028b52ffd200109000001
31 Flags: [SHF_COMPRESSED]
32 Content: 02000000000000000100000000000000010000000000000028b52ffd200109000001