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
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
# REQUIRES: llvm-64-bits
|
|
# RUN: split-file %s %t
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %t/debug1.s -o %t/debug1.o
|
|
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %t/debug2.s -o %t/debug2.o
|
|
# --no-gc-sections to prevent the linker from optimizing the chunk away, otherwise it produces a tiny output
|
|
# RUN: wasm-ld --no-entry --no-gc-sections %t/debug1.o %t/debug2.o -o %t/combined.wasm
|
|
# RUN: llvm-readobj --sections %t/combined.wasm | FileCheck %s
|
|
# RUN: rm %t/debug1.o %t/debug2.o %t/combined.wasm
|
|
|
|
# Check that the linker doesn't crash with large debug sections that together exceed 2GB.
|
|
# CHECK: Type: CUSTOM (0x0)
|
|
# Total size: 2214592520 + 134217728 = 2348810248
|
|
# CHECK-NEXT: Size: 2348810248
|
|
# CHECK: Name: .debug_info
|
|
|
|
# A 2GB + some extra bytes debug section to make sure we go over 2G
|
|
#--- debug1.s
|
|
.section .debug_info,"",@
|
|
.int32 0xAAAAAAAA
|
|
.int32 0xBBBBBBBB
|
|
.zero 2214592504
|
|
.int32 0xCCCCCCCC
|
|
.int32 0xDDDDDDDD
|
|
|
|
#--- debug2.s
|
|
.section .debug_info,"",@
|
|
.int32 0x11111111
|
|
.int32 0x22222222
|
|
.zero 134217712
|
|
.int32 0x44444444
|
|
.int32 0x55555555
|