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
100 lines
2.7 KiB
ArmAsm
100 lines
2.7 KiB
ArmAsm
# REQUIRES: x86
|
|
# RUN: split-file %s %t.dir && cd %t.dir
|
|
|
|
# RUN: llvm-mc -triple=x86_64-windows-cygnus -filetype=obj -o data-no-bss.obj data-no-bss.s
|
|
# RUN: lld-link -lldmingw -entry:main data-no-bss.obj -out:data-no-bss.exe
|
|
# RUN: llvm-objdump -s data-no-bss.exe | FileCheck --check-prefix=DATANOBSS %s
|
|
|
|
# RUN: llvm-mc -triple=x86_64-windows-cygnus -filetype=obj -o bss-no-data.obj bss-no-data.s
|
|
# RUN: lld-link -lldmingw -entry:main bss-no-data.obj -out:bss-no-data.exe
|
|
# RUN: llvm-objdump -s bss-no-data.exe | FileCheck --check-prefix=BSSNODATA %s
|
|
|
|
# RUN: llvm-mc -triple=x86_64-windows-cygnus -filetype=obj -o data-and-bss.obj data-and-bss.s
|
|
# RUN: lld-link -lldmingw -entry:main data-and-bss.obj -out:data-and-bss.exe
|
|
# RUN: llvm-objdump -s data-and-bss.exe | FileCheck --check-prefix=DATAANDBSS %s
|
|
|
|
#--- data-no-bss.s
|
|
.globl main
|
|
main:
|
|
nop
|
|
|
|
.data
|
|
.quad 1
|
|
.byte 2
|
|
|
|
.section .data_cygwin_nocopy, "w"
|
|
.align 4
|
|
.quad 3
|
|
.byte 4
|
|
|
|
.section .test, "w"
|
|
.quad __data_start__
|
|
.quad __data_end__
|
|
.quad __bss_start__
|
|
.quad __bss_end__
|
|
|
|
#--- bss-no-data.s
|
|
.globl main
|
|
main:
|
|
nop
|
|
|
|
.bss
|
|
.zero 8192
|
|
|
|
.section .test, "w"
|
|
.quad __data_start__
|
|
.quad __data_end__
|
|
.quad __bss_start__
|
|
.quad __bss_end__
|
|
|
|
#--- data-and-bss.s
|
|
.globl main
|
|
main:
|
|
nop
|
|
|
|
.data
|
|
.quad 1
|
|
.byte 2
|
|
|
|
.section .data_cygwin_nocopy, "w"
|
|
.align 4
|
|
.quad 3
|
|
.byte 4
|
|
|
|
.bss
|
|
.zero 8192
|
|
|
|
.section .test, "w"
|
|
.quad __data_start__
|
|
.quad __data_end__
|
|
.quad __bss_start__
|
|
.quad __bss_end__
|
|
|
|
# DATANOBSS: Contents of section .data:
|
|
# DATANOBSS-NEXT: 140003000 01000000 00000000 02000000 03000000
|
|
# DATANOBSS-NEXT: 140003010 00000000 04
|
|
# __data_start__ pointing at 0x140003000 and
|
|
# __data_end__ pointing at 0x140003009.
|
|
# DATANOBSS-NEXT: Contents of section .test:
|
|
# DATANOBSS-NEXT: 140004000 00300040 01000000 09300040 01000000
|
|
# DATANOBSS-NEXT: 140004010 18300040 01000000 18300040 01000000
|
|
|
|
# __bss_start__ pointing at 0x140003000 and
|
|
# __bss_end__ pointing at 0x140005000.
|
|
# BSSNODATA-NOT: Contents of section .data:
|
|
# BSSNODATA: Contents of section .test:
|
|
# BSSNODATA-NEXT: 140005000 00300040 01000000 00300040 01000000
|
|
# BSSNODATA-NEXT: 140005010 00300040 01000000 00500040 01000000
|
|
|
|
# DATAANDBSS: Contents of section .data:
|
|
# DATAANDBSS-NEXT: 140003000 01000000 00000000 02000000 03000000
|
|
# DATAANDBSS-NEXT: 140003010 00000000 04000000 00000000 00000000
|
|
# __data_start__ pointing at 0x140003000 and
|
|
# __data_end__ pointing at 0x140003009.
|
|
# __bss_start__ pointing at 0x140003018 and
|
|
# __bss_end__ pointing at 0x140005018.
|
|
# DATAANDBSS: 1400031f0 00000000 00000000 00000000 00000000
|
|
# DATAANDBSS-NEXT: Contents of section .test:
|
|
# DATAANDBSS-NEXT: 140006000 00300040 01000000 09300040 01000000
|
|
# DATAANDBSS-NEXT: 140006010 18300040 01000000 18500040 01000000
|