18 lines · plain
1# REQUIRES: zlib2 3# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o4 5## Test that after the compression is done we do not remove the symbol6## and it is placed into the right section.7 8# RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed1.o9# RUN: llvm-readobj --symbols %t-compressed1.o | FileCheck %s10 11# CHECK: Name: .Linfo_string012# CHECK-NEXT: Value: 0x013# CHECK-NEXT: Size: 014# CHECK-NEXT: Binding: Global15# CHECK-NEXT: Type: None16# CHECK-NEXT: Other: 017# CHECK-NEXT: Section: .debug_bar18