| 1 |
# REQUIRES: zlib |
| 2 |
|
| 3 |
# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o |
| 4 |
|
| 5 |
## Test that after the compression is done we do not remove the symbol |
| 6 |
## and it is placed into the right section. |
| 7 |
|
| 8 |
# RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed1.o |
| 9 |
# RUN: llvm-readobj --symbols %t-compressed1.o | FileCheck %s |
| 10 |
|
| 11 |
# CHECK: Name: .Linfo_string0 |
| 12 |
# CHECK-NEXT: Value: 0x0 |
| 13 |
# CHECK-NEXT: Size: 0 |
| 14 |
# CHECK-NEXT: Binding: Global |
| 15 |
# CHECK-NEXT: Type: None |
| 16 |
# CHECK-NEXT: Other: 0 |
| 17 |
# CHECK-NEXT: Section: .debug_bar |