mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
8a63746f19
Main problem here was that SHF_COMPRESSED has the same value with XCORE_SHF_CP_SECTION, which was included as standart (common) flag. As far I understand xCore is a family of controllers and it that means it's constant should be processed separately, only if e_machine == EM_XCORE, otherwise llvm-readobj would output different constants twice for compressed section: Flags [ .. SHF_COMPRESSED (0x800) .. XCORE_SHF_CP_SECTION (0x800) .. ] what probably does not make sence if you're not working with xcore file. Differential revision: http://reviews.llvm.org/D20273 llvm-svn: 270320
10 lines
256 B
Plaintext
10 lines
256 B
Plaintext
RUN: llvm-readobj -sections \
|
|
RUN: %p/Inputs/compression.zlib.style.elf-x86-64 | FileCheck %s
|
|
|
|
CHECK: Section {
|
|
CHECK: Name: .debug_info
|
|
CHECK-NEXT: Type: SHT_PROGBITS
|
|
CHECK-NEXT: Flags [
|
|
CHECK-NEXT: SHF_COMPRESSED (0x800)
|
|
CHECK-NEXT: ]
|