mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
d99a432c04
I'll implement error handling and a negative test in both llvm-mc and Clang soon. llvm-svn: 205016
21 lines
560 B
ArmAsm
21 lines
560 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 .zdebug_line:
|
|
// 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
|
|
.text
|
|
foo:
|
|
.cfi_startproc
|
|
.file 1 "Driver.ii"
|
|
.loc 1 2 0
|
|
nop
|
|
.cfi_endproc
|
|
.cfi_sections .debug_frame
|