
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
14 lines
360 B
Plaintext
14 lines
360 B
Plaintext
# 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
|
|
|