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_ZLIB or did not find zlib at build time
10 # CHECK-NEXT: [ 18] x.c.
14 # CHECK-NEXT: Hex dump of section '.b':
15 # CHECK-NEXT: warning: '[[FILE]]': LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time
16 # CHECK-NEXT: 0x00000000 01000000 00000000 01000000 00000000 ................
17 # CHECK-NEXT: 0x00000010 01000000 00000000 789c6304 00000200 ........x.c.....
18 # CHECK-NEXT: 0x00000020 02 .
28 Flags: [SHF_COMPRESSED]
29 Content: 010000000000000001000000000000000100000000000000789c63040000020002
32 Flags: [SHF_COMPRESSED]
33 Content: 010000000000000001000000000000000100000000000000789c63040000020002