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
47 lines
1.8 KiB
ArmAsm
47 lines
1.8 KiB
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=i686 %s -o %t1.o
|
|
# RUN: echo "SECTIONS { .text : { . = 0xffffffff; *(.text*); } }" > %t1.script
|
|
# RUN: not ld.lld --no-check-sections -T %t1.script %t1.o -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
## Error if an address is greater than or equal to 2**32 for ELF32.
|
|
## When -M is specified, print the link map even if such an error occurs,
|
|
## because the link map can help diagnose problems.
|
|
# RUN: not ld.lld -T %t1.script %t1.o -M -o /dev/null 2>&1 | \
|
|
# RUN: FileCheck --check-prefix=MAP1 %s
|
|
|
|
# MAP1: VMA LMA Size Align Out In Symbol
|
|
# MAP1-NEXT: 0 0 100000001 4 .text
|
|
# MAP1-NEXT: 0 0 ffffffff 1 . = 0xffffffff
|
|
# MAP1-NEXT: 100000000 100000000 1 4 {{.*}}.o:(.text)
|
|
# MAP1: error: section .text at 0x0 of size 0x100000001 exceeds available address space
|
|
|
|
## Error if an address is greater than or equal to 2**63.
|
|
## Print a link map if -M is specified.
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t2.o
|
|
# RUN: echo "SECTIONS { .text : { . = 0x8fffffffffffffff; *(.text*); } }" > %t2.script
|
|
# RUN: not ld.lld -T %t2.script -M %t2.o -o /dev/null 2>&1 | \
|
|
# RUN: FileCheck --check-prefixes=MAP2,CHECK64 %s
|
|
|
|
# MAP2: VMA LMA Size Align Out In Symbol
|
|
# MAP2: 9000000000000000 9000000000000000 1 4 {{.*}}.o:(.text)
|
|
# MAP2-NEXT: 9000000000000000 9000000000000000 0 1 _start
|
|
|
|
# CHECK: error: output file too large
|
|
# CHECK-NEXT: section sizes:
|
|
# CHECK-NEXT: .text 4294967297
|
|
# CHECK-NEXT: .data 1
|
|
|
|
# CHECK64: error: output file too large
|
|
# CHECK64-NEXT: section sizes:
|
|
# CHECK64-NEXT: .text 10376293541461622785
|
|
# CHECK64-NEXT: .data 1
|
|
|
|
.data
|
|
.byte 42
|
|
|
|
.text
|
|
.global _start
|
|
_start:
|
|
nop
|