CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
88 lines
2.7 KiB
YAML
88 lines
2.7 KiB
YAML
## Check how obj2yaml dumps SHT_MIPS_ABIFLAGS sections.
|
|
|
|
# RUN: yaml2obj %s -o %t
|
|
# RUN: obj2yaml %t | FileCheck %s
|
|
|
|
# CHECK: Sections:
|
|
# CHECK-NEXT: - Name: .MIPS.abiflags
|
|
# CHECK-NEXT: Type: SHT_MIPS_ABIFLAGS
|
|
# CHECK-NEXT: AddressAlign: 0x8
|
|
# CHECK-NEXT: ISA: MIPS64
|
|
# CHECK-NEXT: ISARevision: 0x5
|
|
# CHECK-NEXT: ISAExtension: EXT_OCTEON3
|
|
# CHECK-NEXT: ASEs: [ DSP, DSPR2, VIRT ]
|
|
# CHECK-NEXT: FpABI: FP_DOUBLE
|
|
# CHECK-NEXT: GPRSize: REG_64
|
|
# CHECK-NEXT: CPR1Size: REG_64
|
|
# CHECK-NEXT: Flags1: [ ODDSPREG ]
|
|
# CHECK-NEXT: ...
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2MSB
|
|
Type: ET_REL
|
|
Machine: EM_MIPS
|
|
Sections:
|
|
- Name: .MIPS.abiflags
|
|
Type: SHT_MIPS_ABIFLAGS
|
|
AddressAlign: 8
|
|
Version: 0
|
|
ISA: MIPS64
|
|
ISARevision: 5
|
|
ISAExtension: EXT_OCTEON3
|
|
ASEs: [ DSP, DSPR2, VIRT ]
|
|
FpABI: FP_DOUBLE
|
|
GPRSize: REG_64
|
|
CPR1Size: REG_64
|
|
CPR2Size: REG_NONE
|
|
Flags1: [ ODDSPREG ]
|
|
Flags2: 0x0
|
|
|
|
## Check how we dump the SHT_MIPS_ABIFLAGS (0x7000002a) section when
|
|
## the machine type is not EM_MIPS. It is dumped as a regular
|
|
## section of an unknown type.
|
|
|
|
# RUN: yaml2obj %s --docnum=2 -DMACHINE=EM_NONE -o %t2.notmips
|
|
# RUN: obj2yaml %t2.notmips | FileCheck %s --check-prefix=NOT-MIPS
|
|
|
|
# RUN: yaml2obj %s --docnum=2 -DMACHINE=EM_MIPS -o %t2.mips
|
|
# RUN: obj2yaml %t2.mips | FileCheck %s --check-prefix=MIPS
|
|
|
|
# MIPS: - Name: .MIPS.abiflags
|
|
# MIPS-NEXT: Type: SHT_MIPS_ABIFLAGS
|
|
## We don't print the "EntSize" key, because 0x18 is the default value
|
|
## for the sh_entsize field of SHT_MIPS_ABIFLAGS.
|
|
# MIPS-NEXT: ISA: 0x0
|
|
# MIPS-NEXT: ...
|
|
|
|
# NOT-MIPS: - Name: .MIPS.abiflags
|
|
# NOT-MIPS-NEXT: Type: 0x7000002A
|
|
## We print the "EntSize" key, because 0x7000002A only means
|
|
## "SHT_MIPS_ABIFLAGS" when machine is EM_MIPS, so 0x18 is not a known default value.
|
|
# NOT-MIPS-NEXT: EntSize: 0x18
|
|
# NOT-MIPS-NEXT: Content: '000000000000000000000000000000000000000000000000'
|
|
# NOT-MIPS-NEXT: ...
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2MSB
|
|
Type: ET_REL
|
|
Machine: [[MACHINE]]
|
|
Sections:
|
|
- Name: .MIPS.abiflags
|
|
Type: SHT_PROGBITS
|
|
ShType: 0x7000002a ## SHT_MIPS_ABIFLAGS.
|
|
Size: 0x18
|
|
EntSize: [[ENTSIZE=0x18]]
|
|
|
|
## Check we dump the "EntSize" key when the value of the "sh_entsize" field is not equal to 0x18.
|
|
|
|
# RUN: yaml2obj %s --docnum=2 -DMACHINE=EM_MIPS -DENTSIZE=0x19 -o %t2.mips.entsize
|
|
# RUN: obj2yaml %t2.mips.entsize | FileCheck %s --check-prefix=MIPS-ENTSIZE
|
|
|
|
# MIPS-ENTSIZE: - Name: .MIPS.abiflags
|
|
# MIPS-ENTSIZE-NEXT: Type: SHT_MIPS_ABIFLAGS
|
|
# MIPS-ENTSIZE-NEXT: EntSize: 0x19
|