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
2.7 KiB
ArmAsm
51 lines
2.7 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: rm -rf %t && mkdir %t && cd %t
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o a.o
|
|
|
|
# RUN: not ld.lld a.o --fix-cortex-a8 --fix-cortex-a53-843419 2>&1 | FileCheck %s --check-prefix=ERR-ARM
|
|
# ERR-ARM: error: --fix-cortex-a8 is only supported on ARM targets
|
|
# ERR-ARM: error: --fix-cortex-a53-843419 is only supported on AArch64
|
|
|
|
# RUN: not ld.lld a.o --be8 2>&1 | FileCheck %s --check-prefix=ERR-BE8
|
|
# ERR-BE8: error: --be8 is only supported on ARM targets
|
|
|
|
# RUN: not ld.lld a.o --execute-only -z pac-plt -z force-bti -z bti-report=error \
|
|
# RUN: -z pauth-report=error -z gcs-report=error -z gcs-report-dynamic=error \
|
|
# RUN: -z gcs=always 2>&1 | FileCheck %s --check-prefix=CHECK-AARCH64
|
|
# CHECK-AARCH64: error: --execute-only is only supported on AArch64 targets
|
|
# CHECK-AARCH64-NEXT: error: -z pac-plt only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z force-bti only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z bti-report only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z pauth-report only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z gcs-report only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z gcs-report-dynamic only supported on AArch64
|
|
# CHECK-AARCH64-NEXT: error: -z gcs only supported on AArch64
|
|
|
|
# RUN: not ld.lld a.o --relax-gp -z zicfilp-unlabeled-report=warning \
|
|
# RUN: -z zicfilp-func-sig-report=warning -z zicfiss-report=warning \
|
|
# RUN: -z zicfilp=unlabeled -z zicfiss=always 2>&1 | \
|
|
# RUN: FileCheck %s --check-prefix=ERR-RISCV
|
|
# ERR-RISCV: error: --relax-gp is only supported on RISC-V targets
|
|
# ERR-RISCV-NEXT: error: -z zicfilip-unlabeled-report is only supported on RISC-V targets
|
|
# ERR-RISCV-NEXT: error: -z zicfilip-func-sig-report is only supported on RISC-V targets
|
|
# ERR-RISCV-NEXT: error: -z zicfiss-report is only supported on RISC-V targets
|
|
# ERR-RISCV-NEXT: error: -z zicfilp is only supported on RISC-V targets
|
|
# ERR-RISCV-NEXT: error: -z zicfiss is only supported on RISC-V targets
|
|
|
|
# RUN: not ld.lld a.o --toc-optimize --pcrel-optimize 2>&1 | FileCheck %s --check-prefix=ERR-PPC64
|
|
# ERR-PPC64: error: --toc-optimize is only supported on PowerPC64 targets
|
|
# ERR-PPC64: error: --pcrel-optimize is only supported on PowerPC64 targets
|
|
|
|
# RUN: not ld.lld a.o -z execute-only-report=warning 2>&1 | \
|
|
# RUN: FileCheck %s --check-prefix=ERR-EXECUTE-ONLY
|
|
# RUN: not ld.lld a.o -z execute-only-report=error 2>&1 | \
|
|
# RUN: FileCheck %s --check-prefix=ERR-EXECUTE-ONLY
|
|
# ERR-EXECUTE-ONLY: error: -z execute-only-report only supported on AArch64 and ARM
|
|
|
|
# RUN: not ld.lld a.o -z execute-only-report=foo 2>&1 | \
|
|
# RUN: FileCheck %s --check-prefix=ERR-EXECUTE-ONLY-INVALID
|
|
# ERR-EXECUTE-ONLY-INVALID: error: unknown -z execute-only-report= value: foo
|
|
|
|
.globl _start
|
|
_start:
|