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
63 lines
2.4 KiB
ArmAsm
63 lines
2.4 KiB
ArmAsm
# REQUIRES: x86
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[c]*; }; };" > %t.script
|
|
# RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so
|
|
# RUN: llvm-readobj -V %t.so | FileCheck %s --check-prefix=ABC
|
|
# ABC: Name: _Z3abbi
|
|
# ABC: Name: _Z3abci@@FOO
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[b]*; }; };" > %t1.script
|
|
# RUN: ld.lld --version-script %t1.script -shared %t.o -o %t1.so
|
|
# RUN: llvm-readobj -V %t1.so | FileCheck %s --check-prefix=ABB
|
|
# ABB: Name: _Z3abbi@@FOO
|
|
# ABB: Name: _Z3abci
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[a-b]*; }; };" > %t2.script
|
|
# RUN: ld.lld --version-script %t2.script -shared %t.o -o %t2.so
|
|
# RUN: llvm-readobj -V %t2.so | FileCheck %s --check-prefix=ABB
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[a-c]*; }; };" > %t3.script
|
|
# RUN: ld.lld --version-script %t3.script -shared %t.o -o %t3.so
|
|
# RUN: llvm-readobj -V %t3.so | FileCheck %s --check-prefix=ABBABC
|
|
# ABBABC: Name: _Z3abbi@@FOO
|
|
# ABBABC: Name: _Z3abci@@FOO
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[a-bc-d]*; }; };" > %t4.script
|
|
# RUN: ld.lld --version-script %t4.script -shared %t.o -o %t4.so
|
|
# RUN: llvm-readobj -V %t4.so | FileCheck %s --check-prefix=ABBABC
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[a-bd-e]*; }; };" > %t5.script
|
|
# RUN: ld.lld --version-script %t5.script -shared %t.o -o %t5.so
|
|
# RUN: llvm-readobj -V %t5.so | FileCheck %s --check-prefix=ABB
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[^a-c]*; }; };" > %t6.script
|
|
# RUN: ld.lld --version-script %t6.script -shared %t.o -o %t6.so
|
|
# RUN: llvm-readobj -V %t6.so | FileCheck %s --check-prefix=NO
|
|
# NO: Name: _Z3abbi
|
|
# NO: Name: _Z3abci
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { ab[^c-z]*; }; };" > %t7.script
|
|
# RUN: ld.lld --version-script %t7.script -shared %t.o -o %t7.so
|
|
# RUN: llvm-readobj -V %t7.so | FileCheck %s --check-prefix=ABB
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { a[x-za-b][a-c]*; }; };" > %t8.script
|
|
# RUN: ld.lld --version-script %t8.script -shared %t.o -o %t8.so
|
|
# RUN: llvm-readobj -V %t8.so | FileCheck %s --check-prefix=ABBABC
|
|
|
|
# RUN: echo "FOO { global: extern \"C++\" { a[; }; };" > %t9.script
|
|
# RUN: not ld.lld --version-script %t9.script -shared %t.o -o /dev/null 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=ERROR
|
|
# ERROR: invalid glob pattern, unmatched '[': a[
|
|
|
|
.text
|
|
.globl _Z3abbi
|
|
.type _Z3abbi,@function
|
|
_Z3abbi:
|
|
retq
|
|
|
|
.globl _Z3abci
|
|
.type _Z3abci,@function
|
|
_Z3abci:
|
|
retq
|