2 ## Test --decompress/-z for zstd.
4 # RUN: yaml2obj %s -o %t
6 # RUN: llvm-readelf -z -x .strings %t | FileCheck %s --check-prefix=HEX
7 # RUN: llvm-readobj --decompress -p .strings %t | FileCheck %s --check-prefix=STR
9 # HEX: Hex dump of section '.strings':
10 # HEX-NEXT: 0x00000000 68657265 00617265 00736f6d 65007374 here.are.some.st
11 # HEX-NEXT: 0x00000010 72696e67 7300 rings.
13 # STR: String dump of section '.strings':
17 # STR-NEXT: [ e] strings
27 Flags: [SHF_COMPRESSED]
28 Content: 02000000000000001600000000000000000000000000000028b52ffd2016b10000686572650061726500736f6d6500737472696e677300