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
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
# Show that llvm-readobj can print symbol bindings correctly for both LLVM and
|
|
# GNU styles, including for symbol bindings that are not recognised.
|
|
|
|
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-readobj --symbols --dyn-symbols %t | FileCheck %s --check-prefix=LLVM
|
|
# RUN: llvm-readelf --symbols --dyn-symbols %t | FileCheck %s --check-prefix=GNU
|
|
|
|
# LLVM: Name: local
|
|
# LLVM: Binding: Local
|
|
# LLVM: Name: global
|
|
# LLVM: Binding: Global
|
|
# LLVM: Name: weak
|
|
# LLVM: Binding: Weak
|
|
# LLVM: Name: unknown
|
|
# LLVM: Binding: 0x3
|
|
# LLVM: Name: unique
|
|
# LLVM: Binding: Unique (0xA)
|
|
# LLVM: Name: os
|
|
# LLVM: Binding: 0xB
|
|
# LLVM: Name: proc
|
|
# LLVM: Binding: 0xF
|
|
|
|
# GNU: 3 {{.*}} unknown
|
|
# GNU-NEXT: UNIQUE {{.*}} unique
|
|
# GNU-NEXT: b {{.*}} os
|
|
# GNU-NEXT: f {{.*}} proc
|
|
# GNU: LOCAL {{.*}} local
|
|
# GNU-NEXT: GLOBAL {{.*}} global
|
|
# GNU-NEXT: WEAK {{.*}} weak
|
|
|
|
# yaml2obj doesn't have a way of specifying static symbols with custom bindings,
|
|
# so use a custom dynamic symbol table section instead.
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS32
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Sections:
|
|
- Name: .dynstr
|
|
Type: SHT_STRTAB
|
|
#\0unknown\0unique\0os\0proc\0
|
|
Content: "00756e6b6e6f776e00756e69717565006f730070726f6300"
|
|
- Name: .dynsym
|
|
Type: SHT_DYNSYM
|
|
Link: .dynstr
|
|
EntSize: 16
|
|
# Null symbol
|
|
# Symbol with st_name = 1, binding = 0x3
|
|
# Symbol with st_name = 9, binding = 0xa
|
|
# Symbol with st_name = 16, binding = 0xb
|
|
# Symbol with st_name = 19, binding = 0xf
|
|
Content: "0000000000000000000000000000000001000000000000000000000030000000090000000000000000000000a0000000100000000000000000000000b0000000130000000000000000000000f0000000"
|
|
Symbols:
|
|
- Name: local
|
|
- Name: global
|
|
Binding: STB_GLOBAL
|
|
- Name: weak
|
|
Binding: STB_WEAK
|