mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-29 16:05:28 +00:00
e73be5ff27
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270320 91177308-0d34-0410-b5e6-96231b3b80d8
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: ]
|