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
89 lines
2.2 KiB
YAML
89 lines
2.2 KiB
YAML
## Check we are able to set custom sh_flags field
|
|
## for different sections.
|
|
|
|
# RUN: yaml2obj --docnum=1 %s -o %t1
|
|
# RUN: llvm-readobj --sections %t1 | FileCheck %s --check-prefix=UPDATE-FLAGS
|
|
|
|
# UPDATE-FLAGS: Name: .symtab
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_SYMTAB
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0x1)
|
|
|
|
# UPDATE-FLAGS: Name: .strtab
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_STRTAB
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0x2)
|
|
|
|
# UPDATE-FLAGS: Name: .shstrtab
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_STRTAB
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0x3)
|
|
|
|
# UPDATE-FLAGS: Name: .dynsym
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_DYNSYM
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0x4)
|
|
|
|
# UPDATE-FLAGS: Name: .dynstr
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_STRTAB
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0x5)
|
|
|
|
# UPDATE-FLAGS: Name: .regular.os
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_PROGBITS
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0xAB00000)
|
|
|
|
# UPDATE-FLAGS: Name: .regular.proc
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_PROGBITS
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0xC0000000)
|
|
|
|
# UPDATE-FLAGS: Name: .regular.all
|
|
# UPDATE-FLAGS-NEXT: Type: SHT_PROGBITS
|
|
# UPDATE-FLAGS-NEXT: Flags [ (0xFFFFFFFF)
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Sections:
|
|
## Check we can override flags for implicit sections.
|
|
- Name: .symtab
|
|
Type: SHT_SYMTAB
|
|
ShFlags: 0x000000001
|
|
- Name: .strtab
|
|
Type: SHT_STRTAB
|
|
ShFlags: 0x000000002
|
|
- Name: .shstrtab
|
|
Type: SHT_STRTAB
|
|
ShFlags: 0x000000003
|
|
- Name: .dynsym
|
|
Type: SHT_DYNSYM
|
|
ShFlags: 0x000000004
|
|
- Name: .dynstr
|
|
Type: SHT_STRTAB
|
|
ShFlags: 0x000000005
|
|
## Check we can override flags for regular sections.
|
|
- Name: .regular.os
|
|
Type: SHT_PROGBITS
|
|
ShFlags: 0x0AB00000
|
|
- Name: .regular.proc
|
|
Type: SHT_PROGBITS
|
|
ShFlags: 0xC0000000
|
|
- Name: .regular.all
|
|
Type: SHT_PROGBITS
|
|
ShFlags: 0xFFFFFFFF
|
|
|
|
## ShFlags is used when we want to work around the flag values validation.
|
|
## It does not make sense to allow both ShFlags and Flags in the document.
|
|
|
|
# RUN: not yaml2obj --docnum=2 %s 2>&1 | FileCheck %s --check-prefix=ERR
|
|
|
|
# ERR: error: ShFlags and Flags cannot be used together
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Sections:
|
|
- Name: .symtab
|
|
Type: SHT_SYMTAB
|
|
Flags: [ SHF_ALLOC ]
|
|
ShFlags: 0x1
|