Files
TheRock/compiler/amd-llvm/llvm/test/MC/AArch64/arm64e-authenticated-pointer-reloc.s
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

120 lines
3.4 KiB
ArmAsm

// RUN: llvm-mc -triple=arm64-apple-darwin < %s | \
// RUN: FileCheck %s --check-prefix=ASM
// RUN: llvm-mc -triple=arm64-apple-darwin -filetype=obj < %s | \
// RUN: llvm-readobj --expand-relocs --sections \
// RUN: --section-relocations --section-data - | \
// RUN: FileCheck %s --check-prefix=RELOC
// RELOC: Sections [
// RELOC-LABEL: Section {
// RELOC-LABEL: Section {
// RELOC-NEXT: Index: 1
// RELOC-NEXT: Name: __const (5F 5F 63 6F 6E 73 74 00 00 00 00 00 00 00 00 00)
// RELOC-NEXT: Segment: __DATA (5F 5F 44 41 54 41 00 00 00 00 00 00 00 00 00 00)
.section __DATA,__const
.p2align 3
// RELOC-LABEL: Relocations [
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x70
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g 7
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x60
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g 6
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x50
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g5
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x40
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g4
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x30
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g3
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x20
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g2
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x10
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g1
// RELOC-NEXT: }
// RELOC-NEXT: Relocation {
// RELOC-NEXT: Offset: 0x0
// RELOC-NEXT: PCRel: 0
// RELOC-NEXT: Length: 3
// RELOC-NEXT: Type: ARM64_RELOC_AUTHENTICATED_POINTER (11)
// RELOC-NEXT: Symbol: _g0
// RELOC-NEXT: }
// RELOC-NEXT: ]
// RELOC-NEXT: SectionData (
// RELOC-NEXT: 0000: 00000000 2A000080
// ASM: .quad _g0@AUTH(ia,42)
.quad _g0@AUTH(ia,42)
.quad 0
// RELOC-NEXT: 0010: 00000000 00000280
// ASM: .quad _g1@AUTH(ib,0)
.quad _g1@AUTH(ib,0)
.quad 0
// RELOC-NEXT: 0020: 00000000 05000580
// ASM: .quad _g2@AUTH(da,5,addr)
.quad _g2@AUTH(da,5,addr)
.quad 0
// RELOC-NEXT: 0030: 00000000 FFFF0780
// ASM: .quad _g3@AUTH(db,65535,addr)
.quad _g3@AUTH(db,0xffff,addr)
.quad 0
// RELOC-NEXT: 0040: 07000000 00000080
// ASM: .quad (_g4+7)@AUTH(ia,0)
.quad (_g4 + 7)@AUTH(ia,0)
.quad 0
// RELOC-NEXT: 0050: FDFFFFFF 00DE0280
// ASM: .quad (_g5-3)@AUTH(ib,56832)
.quad (_g5 - 3)@AUTH(ib,0xde00)
.quad 0
// RELOC-NEXT: 0060: 00000000 FF000780
// ASM: .quad "_g 6"@AUTH(db,255,addr)
.quad "_g 6"@AUTH(db,0xff,addr)
.quad 0
// RELOC-NEXT: 0070: 07000000 10000080
// ASM: .quad ("_g 7"+7)@AUTH(ia,16)
.quad ("_g 7" + 7)@AUTH(ia,16)
.quad 0