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
56 lines
1.3 KiB
ArmAsm
56 lines
1.3 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: rm -rf %t; split-file %s %t
|
|
## Verify that we preserve alignment when merging sections.
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t/foo.o
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t/bar.o
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t/baz.o
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin -o %t/qux.o
|
|
# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t/main.o
|
|
# RUN: %lld -o %t/output %t/foo.o %t/bar.o %t/baz.o %t/qux.o %t/main.o
|
|
|
|
# RUN: llvm-objdump --syms --section=__data --full-contents %t/output | FileCheck %s
|
|
# CHECK: SYMBOL TABLE:
|
|
# CHECK-DAG: [[#%x, ADDR:]] g O __DATA,__data _foo
|
|
# CHECK-DAG: {{0*}}[[#ADDR+0x4]] g O __DATA,__data _bar
|
|
# CHECK-DAG: {{0*}}[[#ADDR+0x8]] g O __DATA,__data _baz
|
|
# CHECK-DAG: {{0*}}[[#ADDR+0x9]] g O __DATA,__data _qux
|
|
|
|
# CHECK: Contents of section __DATA,__data:
|
|
# CHECK-NEXT: {{0*}}[[#ADDR]] ca000000 fe000000 baefbead de000000
|
|
|
|
#--- foo.s
|
|
.globl _foo
|
|
.data
|
|
.p2align 0
|
|
_foo:
|
|
.byte 0xca
|
|
|
|
#--- bar.s
|
|
.globl _bar
|
|
.data
|
|
.p2align 2
|
|
_bar:
|
|
.byte 0xfe
|
|
|
|
#--- baz.s
|
|
.globl _baz
|
|
.data
|
|
.p2align 3
|
|
_baz:
|
|
.byte 0xba
|
|
|
|
#--- qux.s
|
|
.globl _qux
|
|
.data
|
|
.p2align 0
|
|
_qux:
|
|
.quad 0xdeadbeef
|
|
|
|
#--- main.s
|
|
.section __TEXT,__text
|
|
.globl _main
|
|
|
|
_main:
|
|
mov $0, %rax
|
|
ret
|