1 // RUN: llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o %t
2 // RUN: llvm-objdump -s %t | FileCheck %s
3 // RUN: llvm-dwarfdump -debug-dump=abbrev %t | FileCheck --check-prefix=ABBREV %s
7 // CHECK: Contents of section .zdebug_line:
8 // Check for the 'ZLIB' file magic at the start of the section only
13 // CHECK: Contents of section .zdebug_abbrev:
16 // FIXME: Handle compressing alignment fragments to support compressing debug_frame
17 // CHECK: Contents of section .debug_frame:
21 // Decompress one valid dwarf section just to check that this roundtrips
22 // ABBREV: Abbrev table for offset: 0x00000000
23 // ABBREV: [1] DW_TAG_compile_unit DW_CHILDREN_no
25 .section .debug_line,"",@progbits
27 .section .debug_abbrev,"",@progbits
28 .byte 1 # Abbreviation Code
29 .byte 17 # DW_TAG_compile_unit
30 .byte 0 # DW_CHILDREN_no
40 .cfi_sections .debug_frame