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
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# REQUIRES: aarch64-registered-target
|
|
|
|
# RUN: llvm-mc -assemble -triple=arm64-apple-macos11 -filetype=obj %p/Inputs/macho_sections.s -o %t.o
|
|
# RUN: llvm-otool -l %t.o | FileCheck %s --check-prefix=ORIG
|
|
|
|
|
|
# RUN: llvm-objcopy %t.o --update-section __DATA,__storage=%p/Inputs/macho_sections.s %t.new.o
|
|
# RUN: llvm-otool -l %t.new.o | FileCheck %s --check-prefix=UPDATED
|
|
|
|
# ORIG: cmd LC_SEGMENT_64
|
|
# ORIG-NEXT: cmdsize 232
|
|
# ORIG-NEXT: segname
|
|
# ORIG-NEXT: vmaddr 0x0000000000000000
|
|
# ORIG-NEXT: vmsize 0x00000000000000c0
|
|
# ORIG-NEXT: fileoff 392
|
|
# ORIG-NEXT: filesize 192
|
|
# ORIG-NEXT: maxprot 0x00000007
|
|
# ORIG-NEXT: initprot 0x00000007
|
|
# ORIG-NEXT: nsects 2
|
|
# ORIG-NEXT: flags 0x0
|
|
|
|
# ORIG: Section
|
|
# ORIG: sectname __storage
|
|
# ORIG-NEXT: segname __DATA
|
|
# ORIG-NEXT: addr 0x0000000000000040
|
|
# ORIG-NEXT: size 0x0000000000000080
|
|
|
|
|
|
### Make sure the file size and segment size have changed
|
|
# UPDATED: cmd LC_SEGMENT_64
|
|
# UPDATED-NEXT: cmdsize 232
|
|
# UPDATED-NEXT: segname
|
|
# UPDATED-NEXT: vmaddr 0x0000000000000000
|
|
# UPDATED-NEXT: vmsize 0x0000000000000090
|
|
# UPDATED-NEXT: fileoff 392
|
|
# UPDATED-NEXT: filesize 144
|
|
# UPDATED-NEXT: maxprot 0x00000007
|
|
# UPDATED-NEXT: initprot 0x00000007
|
|
# UPDATED-NEXT: nsects 2
|
|
# UPDATED-NEXT: flags 0x0
|
|
|
|
# UPDATED: Section
|
|
# UPDATED: sectname __storage
|
|
# UPDATED-NEXT: segname __DATA
|
|
# UPDATED-NEXT: addr 0x0000000000000040
|
|
# UPDATED-NEXT: size 0x0000000000000050
|
|
|