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
87 lines
2.7 KiB
YAML
87 lines
2.7 KiB
YAML
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-dwarfdump -i %t | FileCheck %s
|
|
|
|
# Test REL relocation handling for AMDGPU
|
|
|
|
# CHECK: DW_TAG_compile_unit
|
|
# CHECK: DW_AT_producer ("dxc")
|
|
# CHECK: DW_AT_name (".\\example.hlsl")
|
|
# CHECK: DW_AT_str_offsets_base (0x00000008)
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
OSABI: ELFOSABI_AMDGPU_PAL
|
|
Type: ET_REL
|
|
Machine: EM_AMDGPU
|
|
Flags: [ EF_AMDGPU_MACH_AMDGCN_GFX1201 ]
|
|
SectionHeaderStringTable: .strtab
|
|
Sections:
|
|
- Name: .debug_abbrev
|
|
Type: SHT_PROGBITS
|
|
AddressAlign: 0x1
|
|
Content: 01110125251305032572171017110B120673178C0117000000
|
|
- Name: .debug_info
|
|
Type: SHT_PROGBITS
|
|
AddressAlign: 0x1
|
|
Content: 23000000050001080000000001000400010800000000000000005C000000080000000C00000000
|
|
- Name: .debug_str_offsets
|
|
Type: SHT_PROGBITS
|
|
AddressAlign: 0x1
|
|
Content: 0C000000050000000000000004000000
|
|
- Name: .rel.debug_info
|
|
Type: SHT_REL
|
|
Flags: [ SHF_INFO_LINK ]
|
|
Link: .symtab
|
|
AddressAlign: 0x8
|
|
Info: .debug_info
|
|
Relocations:
|
|
- Offset: 0x8
|
|
Symbol: .debug_abbrev
|
|
Type: R_AMDGPU_ABS32
|
|
- Offset: 0x11
|
|
Symbol: .debug_str_offsets
|
|
Type: R_AMDGPU_ABS32
|
|
- Name: .rel.debug_str_offsets
|
|
Type: SHT_REL
|
|
Flags: [ SHF_INFO_LINK ]
|
|
Link: .symtab
|
|
AddressAlign: 0x8
|
|
Info: .debug_str_offsets
|
|
Relocations:
|
|
- Offset: 0x8
|
|
Symbol: .debug_str
|
|
Type: R_AMDGPU_ABS32
|
|
- Offset: 0xC
|
|
Symbol: .debug_str
|
|
Type: R_AMDGPU_ABS32
|
|
- Type: SectionHeaderTable
|
|
Sections:
|
|
- Name: .strtab
|
|
- Name: .debug_abbrev
|
|
- Name: .debug_info
|
|
- Name: .rel.debug_info
|
|
- Name: .debug_str_offsets
|
|
- Name: .rel.debug_str_offsets
|
|
- Name: .debug_str
|
|
- Name: .symtab
|
|
Symbols:
|
|
- Name: .debug_abbrev
|
|
Type: STT_SECTION
|
|
Section: .debug_abbrev
|
|
- Name: .debug_info
|
|
Type: STT_SECTION
|
|
Section: .debug_info
|
|
- Name: .debug_str_offsets
|
|
Type: STT_SECTION
|
|
Section: .debug_str_offsets
|
|
- Name: .debug_str
|
|
Type: STT_SECTION
|
|
Section: .debug_str
|
|
DWARF:
|
|
debug_str:
|
|
- 'dxc'
|
|
- '.\example.hlsl'
|
|
...
|