llvm.org GIT mirror llvm / release_80 test / tools / llvm-objcopy / ELF / compress-debug-sections-default.test
release_80

Tree @release_80 (Download .tar.gz)

compress-debug-sections-default.test @release_80raw · history · blame

# REQUIRES: zlib

# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
# RUN: llvm-objcopy --compress-debug-sections %t.o %t-compressed.o
# RUN: llvm-readobj -s %t-compressed.o | FileCheck %s

# CHECK: Name: .debug_foo
# CHECK-NEXT: Type: SHT_PROGBITS
# CHECK-NEXT: Flags [
# CHECK-NEXT: SHF_COMPRESSED
# CHECK-NEXT: ]
# CHECK-NOT: Name: .debug_foo