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
51 lines
1.9 KiB
LLVM
51 lines
1.9 KiB
LLVM
; RUN: rm -rf %t && split-file %s %t && cd %t
|
|
|
|
;--- ok.ll
|
|
|
|
; RUN: llc -mtriple=aarch64-linux ok.ll -o - | \
|
|
; RUN: FileCheck %s --check-prefix=ASM
|
|
; RUN: llc -mtriple=aarch64-linux ok.ll -filetype=obj -o - | \
|
|
; RUN: llvm-readelf --notes - | FileCheck %s --check-prefix=OBJ
|
|
|
|
!llvm.module.flags = !{!0, !1}
|
|
|
|
!0 = !{i32 1, !"aarch64-elf-pauthabi-platform", i32 268435458}
|
|
!1 = !{i32 1, !"aarch64-elf-pauthabi-version", i32 1365}
|
|
|
|
; ASM: .section .note.gnu.property,"a",@note
|
|
; ASM-NEXT: .p2align 3, 0x0
|
|
; ASM-NEXT: .word 4
|
|
; ASM-NEXT: .word 24
|
|
; ASM-NEXT: .word 5
|
|
; ASM-NEXT: .asciz "GNU"
|
|
; 3221225473 = 0xc0000001 = GNU_PROPERTY_AARCH64_FEATURE_PAUTH
|
|
; ASM-NEXT: .word 3221225473
|
|
; ASM-NEXT: .word 16
|
|
; ASM-NEXT: .xword 268435458
|
|
; ASM-NEXT: .xword 1365
|
|
|
|
; OBJ: Displaying notes found in: .note.gnu.property
|
|
; OBJ-NEXT: Owner Data size Description
|
|
; OBJ-NEXT: GNU 0x00000018 NT_GNU_PROPERTY_TYPE_0 (property note)
|
|
; OBJ-NEXT: AArch64 PAuth ABI core info: platform 0x10000002 (llvm_linux), version 0x555 (PointerAuthIntrinsics, !PointerAuthCalls, PointerAuthReturns, !PointerAuthAuthTraps, PointerAuthVTPtrAddressDiscrimination, !PointerAuthVTPtrTypeDiscrimination, PointerAuthInitFini, !PointerAuthInitFiniAddressDiscrimination, PointerAuthELFGOT, !PointerAuthIndirectGotos, PointerAuthTypeInfoVTPtrDiscrimination, !PointerAuthFPtrTypeDiscrimination)
|
|
|
|
; ERR: either both or no 'aarch64-elf-pauthabi-platform' and 'aarch64-elf-pauthabi-version' module flags must be present
|
|
|
|
;--- err1.ll
|
|
|
|
; RUN: not llc -mtriple=aarch64-linux err1.ll 2>&1 -o - | \
|
|
; RUN: FileCheck %s --check-prefix=ERR
|
|
|
|
!llvm.module.flags = !{!0}
|
|
|
|
!0 = !{i32 1, !"aarch64-elf-pauthabi-platform", i32 2}
|
|
|
|
;--- err2.ll
|
|
|
|
; RUN: not llc -mtriple=aarch64-linux err2.ll 2>&1 -o - | \
|
|
; RUN: FileCheck %s --check-prefix=ERR
|
|
|
|
!llvm.module.flags = !{!0}
|
|
|
|
!0 = !{i32 1, !"aarch64-elf-pauthabi-version", i32 31}
|