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
120 lines
4.2 KiB
YAML
120 lines
4.2 KiB
YAML
## Check how llvm-readobj/llvm-readelf tools dump the flags of SHT_GNU_verneed
|
|
## section entries.
|
|
|
|
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-readobj -V %t | FileCheck %s --check-prefix=LLVM-VERDEF
|
|
# RUN: llvm-readelf -V %t | FileCheck %s --check-prefix=GNU-VERDEF
|
|
|
|
# LLVM-VERDEF: VersionRequirements [
|
|
# LLVM-VERDEF-NEXT: Dependency {
|
|
# LLVM-VERDEF-NEXT: Version: 1
|
|
# LLVM-VERDEF-NEXT: Count: 6
|
|
# LLVM-VERDEF-NEXT: FileName: dso.so.0
|
|
# LLVM-VERDEF-NEXT: Entries [
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0x1)
|
|
# LLVM-VERDEF-NEXT: Base (0x1)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: base
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0x2)
|
|
# LLVM-VERDEF-NEXT: Weak (0x2)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: weak
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0x4)
|
|
# LLVM-VERDEF-NEXT: Info (0x4)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: info
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0x7)
|
|
# LLVM-VERDEF-NEXT: Base (0x1)
|
|
# LLVM-VERDEF-NEXT: Info (0x4)
|
|
# LLVM-VERDEF-NEXT: Weak (0x2)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: all
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0x8)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: unknown
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: Entry {
|
|
# LLVM-VERDEF-NEXT: Hash: 0
|
|
# LLVM-VERDEF-NEXT: Flags [ (0xF)
|
|
# LLVM-VERDEF-NEXT: Base (0x1)
|
|
# LLVM-VERDEF-NEXT: Info (0x4)
|
|
# LLVM-VERDEF-NEXT: Weak (0x2)
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: Index: 0
|
|
# LLVM-VERDEF-NEXT: Name: all_and_unknown
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: ]
|
|
# LLVM-VERDEF-NEXT: }
|
|
# LLVM-VERDEF-NEXT: ]
|
|
|
|
# GNU-VERDEF: Version needs section '.gnu.version_r' contains 1 entries:
|
|
# GNU-VERDEF-NEXT: Addr: 0000000000000000 Offset: 0x000040 Link: 3 (.dynstr)
|
|
# GNU-VERDEF-NEXT: 0x0000: Version: 1 File: dso.so.0 Cnt: 6
|
|
# GNU-VERDEF-NEXT: 0x0010: Name: base Flags: BASE Version: 0
|
|
# GNU-VERDEF-NEXT: 0x0020: Name: weak Flags: WEAK Version: 0
|
|
# GNU-VERDEF-NEXT: 0x0030: Name: info Flags: INFO Version: 0
|
|
# GNU-VERDEF-NEXT: 0x0040: Name: all Flags: BASE | WEAK | INFO Version: 0
|
|
# GNU-VERDEF-NEXT: 0x0050: Name: unknown Flags: <unknown> Version: 0
|
|
# GNU-VERDEF-NEXT: 0x0060: Name: all_and_unknown Flags: BASE | WEAK | INFO | <unknown> Version: 0
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_EXEC
|
|
Entry: 0x0000000000201000
|
|
Sections:
|
|
- Name: .gnu.version_r
|
|
Type: SHT_GNU_verneed
|
|
Dependencies:
|
|
- Version: 1
|
|
File: dso.so.0
|
|
Entries:
|
|
- Name: base
|
|
Hash: 0
|
|
Flags: 0x1
|
|
Other: 0
|
|
- Name: weak
|
|
Hash: 0
|
|
Flags: 0x2
|
|
Other: 0
|
|
- Name: info
|
|
Hash: 0
|
|
Flags: 0x4
|
|
Other: 0
|
|
- Name: all
|
|
Hash: 0
|
|
Flags: 0x7
|
|
Other: 0
|
|
- Name: unknown
|
|
Hash: 0
|
|
Flags: 0x8
|
|
Other: 0
|
|
- Name: all_and_unknown
|
|
Hash: 0
|
|
Flags: 0xf
|
|
Other: 0
|
|
## Needed to trigger .dynstr creation, which is required by .gnu.version_r
|
|
DynamicSymbols:
|
|
- Name: f1
|
|
Binding: STB_GLOBAL
|