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
84 lines
2.2 KiB
Plaintext
84 lines
2.2 KiB
Plaintext
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-objcopy --strip-dwo %t
|
|
# RUN: llvm-readobj --symbols -S --section-groups %t | \
|
|
# RUN: FileCheck %s --implicit-check-not=.debug_
|
|
|
|
## `llvm-objcopy --strip-dwo` strips out dwo sections, as a result, the index of
|
|
## the symbol table, the indices of the symbols and the indices of the sections
|
|
## which go after the removed ones will change. Consequently, the fields Link,
|
|
## Info and the content of .group need to be updated.
|
|
|
|
## Note. 'Signature' is generated using 'Link' and 'Info', so checking it
|
|
## validates updating these fields.
|
|
|
|
# CHECK: Groups {
|
|
# CHECK-NEXT: Group {
|
|
# CHECK-NEXT: Name: .group
|
|
# CHECK-NEXT: Index:
|
|
# CHECK-NEXT: Link:
|
|
# CHECK-NEXT: Info:
|
|
# CHECK-NEXT: Type:
|
|
# CHECK-NEXT: Signature: group1
|
|
# CHECK-NEXT: Section(s) in group [
|
|
# CHECK-NEXT: .text.group1
|
|
# CHECK-NEXT: ]
|
|
|
|
# CHECK: Name: .group
|
|
# CHECK-NEXT: Index:
|
|
# CHECK-NEXT: Link:
|
|
# CHECK-NEXT: Info:
|
|
# CHECK-NEXT: Type:
|
|
# CHECK-NEXT: Signature: group2
|
|
# CHECK-NEXT: Section(s) in group [
|
|
# CHECK-NEXT: .text.group2
|
|
# CHECK-NEXT: .rela.text.group2
|
|
# CHECK-NEXT: ]
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Sections:
|
|
- Name: .debug_before.dwo
|
|
Type: SHT_PROGBITS
|
|
- Name: .group
|
|
Type: SHT_GROUP
|
|
Link: .symtab
|
|
Info: group1
|
|
Members:
|
|
- SectionOrType: GRP_COMDAT
|
|
- SectionOrType: .text.group1
|
|
- Name: .text.group1
|
|
Type: SHT_PROGBITS
|
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
|
|
- Name: '.group (1)'
|
|
Type: SHT_GROUP
|
|
Link: .symtab
|
|
Info: group2
|
|
Members:
|
|
- SectionOrType: GRP_COMDAT
|
|
- SectionOrType: .text.group2
|
|
- SectionOrType: .rela.text.group2
|
|
- Name: .text.group2
|
|
Type: SHT_PROGBITS
|
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR, SHF_GROUP ]
|
|
- Name: .rela.text.group2
|
|
Type: SHT_RELA
|
|
Flags: [ SHF_GROUP ]
|
|
Info: .text.group2
|
|
- Name: .debug_after.dwo
|
|
Type: SHT_PROGBITS
|
|
Symbols:
|
|
- Name: debug_before
|
|
Section: .debug_before.dwo
|
|
- Name: debug_after
|
|
Section: .debug_after.dwo
|
|
- Name: group2
|
|
Section: .text.group2
|
|
Binding: STB_WEAK
|
|
- Name: group1
|
|
Section: .text.group1
|
|
Binding: STB_WEAK
|