mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
400f67a1c7
Turns out debug_frame does use multiple fragments, so it doesn't compress correctly with the current approach. Disable compressing it for now while I figure out what's the best solution for it. llvm-svn: 205059
29 lines
808 B
ArmAsm
29 lines
808 B
ArmAsm
// RUN: llvm-mc -filetype=obj -compress-debug-sections -triple x86_64-pc-linux-gnu %s -o - | llvm-objdump -s - | FileCheck %s
|
|
|
|
// REQUIRES: zlib
|
|
|
|
// CHECK: Contents of section .debug_line:
|
|
// FIXME: Figure out how to handle debug_line that currently uses multiple section fragments
|
|
// CHECK-NOT: ZLIB
|
|
|
|
// CHECK: Contents of section .zdebug_abbrev:
|
|
// Check for the 'ZLIB' file magic at the start of the section
|
|
// CHECK-NEXT: ZLIB
|
|
|
|
// We shouldn't compress the debug_frame section, since it can be relaxed
|
|
// CHECK: Contents of section .debug_frame
|
|
// CHECK-NOT: ZLIB
|
|
|
|
.section .debug_line,"",@progbits
|
|
|
|
.section .debug_abbrev,"",@progbits
|
|
.byte 1 # Abbreviation Code
|
|
.text
|
|
foo:
|
|
.cfi_startproc
|
|
.file 1 "Driver.ii"
|
|
.loc 1 2 0
|
|
nop
|
|
.cfi_endproc
|
|
.cfi_sections .debug_frame
|