Files
TheRock/compiler/amd-llvm/llvm/test/tools/yaml2obj/ELF/symbol-index.yaml
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

51 lines
1.2 KiB
YAML

# RUN: yaml2obj %s -o %t
# RUN: llvm-readelf -s %t | FileCheck %s
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Sections:
- Name: .text
Type: SHT_PROGBITS
Symbols:
- Name: absolute1
Index: SHN_ABS
Value: 0x1234
Binding: STB_GLOBAL
- Name: absolute2
Index: 0xfff1
Value: 0x4321
Binding: STB_GLOBAL
- Name: common1
Index: SHN_COMMON
Binding: STB_GLOBAL
- Name: common2
Index: 0xfff2
Binding: STB_GLOBAL
- Name: good
Index: 0x1
Binding: STB_GLOBAL
- Name: bad
Index: 0x42
Binding: STB_GLOBAL
- Name: undef1
Index: SHN_UNDEF
Binding: STB_GLOBAL
- Name: undef2
Index: 0
Binding: STB_GLOBAL
# CHECK: Symbol table '.symtab' contains 9 entries
# CHECK-NEXT: Num: {{.*}} Ndx Name
# CHECK-NEXT: 0: {{.*}} UND
# CHECK-NEXT: 1: {{.*}} ABS absolute1
# CHECK-NEXT: 2: {{.*}} ABS absolute2
# CHECK-NEXT: 3: {{.*}} COM common1
# CHECK-NEXT: 4: {{.*}} COM common2
# CHECK-NEXT: 5: {{.*}} 1 good
# CHECK-NEXT: 6: {{.*}} 66 bad
# CHECK-NEXT: 7: {{.*}} UND undef1
# CHECK-NEXT: 8: {{.*}} UND undef2