mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Debug Compression: Avoid compression debug_frame for now
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205059 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2,14 +2,22 @@
|
||||
|
||||
// REQUIRES: zlib
|
||||
|
||||
// CHECK: Contents of section .zdebug_line:
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user