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
42 lines
1.2 KiB
ArmAsm
42 lines
1.2 KiB
ArmAsm
// REQUIRES: arm
|
|
// RUN: llvm-mc -filetype=obj -triple=armv7a-none-linux-gnueabi %p/Inputs/arm-tls-get-addr.s -o %t1.o
|
|
// RUN: ld.lld %t1.o --shared -soname=t1.so -o %t1.so
|
|
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=armv7a-linux-gnueabi
|
|
// RUN: ld.lld %t1.so %t.o -o %t
|
|
// RUN: llvm-objdump -s %t | FileCheck %s
|
|
|
|
/// This tls global-dynamic sequence is with respect to a non-preemptible
|
|
/// symbol in an application so a relaxation to Local Exec would normally be
|
|
/// possible. This would result in an assertion failure on ARM as the
|
|
/// relaxation functions can't be implemented on ARM. Check that the sequence
|
|
/// is handled as global dynamic
|
|
|
|
.text
|
|
.syntax unified
|
|
.globl func
|
|
.p2align 2
|
|
.type func,%function
|
|
func:
|
|
.L0:
|
|
.globl __tls_get_addr
|
|
bl __tls_get_addr
|
|
bx lr
|
|
.p2align 2
|
|
.Lt0: .word x(TLSGD) + (. - .L0 - 8)
|
|
|
|
.globl x
|
|
.section .tbss,"awT",%nobits
|
|
.p2align 2
|
|
x:
|
|
.space 4
|
|
.type x, %object
|
|
|
|
// CHECK: Contents of section .got:
|
|
/// Module index is always 1 for executable
|
|
// CHECK-NEXT: 30268 01000000 00000000
|
|
|
|
|
|
/// Without any definition of __tls_get_addr we get an error
|
|
// RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck --check-prefix=ERR %s
|
|
// ERR: error: undefined symbol: __tls_get_addr
|