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
78 lines
2.7 KiB
ArmAsm
78 lines
2.7 KiB
ArmAsm
# REQUIRES: webassembly-registered-target
|
|
# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o -g
|
|
# RUN: llvm-objdump -d --line-numbers %t.o | FileCheck --check-prefix=OBJ %s
|
|
|
|
# line-numbers.yaml was created by linking this object and converting to YAML:
|
|
# wasm-ld %t.o -o %t.wasm --no-entry --export=foo --export=bar
|
|
# RUN: yaml2obj %S/Inputs/line-numbers.yaml -o %t.wasm
|
|
# RUN: llvm-objdump -d --line-numbers %t.wasm | FileCheck --check-prefix=LINKED %s
|
|
|
|
# This test mirrors test/tools/llvm-symbolizer/wasm-basic.s and tests that line
|
|
# numbers are correctly printed from DWARF information.
|
|
|
|
.globl foo
|
|
foo:
|
|
.functype foo () -> ()
|
|
nop
|
|
return
|
|
end_function
|
|
|
|
.globl bar
|
|
bar:
|
|
.functype bar (i32) -> (i32)
|
|
local.get 0
|
|
nop
|
|
return
|
|
end_function
|
|
|
|
# OBJ: <foo>:
|
|
# OBJ-EMPTY:
|
|
# OBJ-NEXT: ; foo():
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-15]]
|
|
# OBJ-NEXT: 3: 01 nop
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-16]]
|
|
# OBJ-NEXT: 4: 0f return
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-17]]
|
|
# OBJ-NEXT: 5: 0b end
|
|
|
|
# OBJ: <bar>:
|
|
# OBJ-EMPTY:
|
|
# OBJ-NEXT: ; bar():
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-18]]
|
|
# OBJ-NEXT: 8: 20 00 local.get 0
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-19]]
|
|
# OBJ-NEXT: a: 01 nop
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-20]]
|
|
# OBJ-NEXT: b: 0f return
|
|
# OBJ-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-21]]
|
|
# OBJ-NEXT: c: 0b end
|
|
|
|
|
|
# Note: The linked version of this test currently bakes in the absolute binary
|
|
# offsets in the code section (for the beginning of each function) because they
|
|
# are relevant. We want to make sure that file offsets are used rather than
|
|
# section offsets. But this does mean that if the output of the linker for the
|
|
# sections that come before Code changes, then this test will have to be updated.
|
|
|
|
# LINKED: <foo>:
|
|
# LINKED-EMPTY:
|
|
# LINKED-NEXT: ; foo():
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-44]]
|
|
# LINKED-NEXT: 5c: 01 nop
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-45]]
|
|
# LINKED-NEXT: {{.*}}: 0f return
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-46]]
|
|
# LINKED-NEXT: {{.*}}: 0b end
|
|
|
|
# LINKED: <bar>:
|
|
# LINKED-EMPTY:
|
|
# LINKED-NEXT: ; bar():
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-47]]
|
|
# LINKED-NEXT: 61: 20 00 local.get 0
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-48]]
|
|
# LINKED-NEXT: {{.*}}: 01 nop
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-49]]
|
|
# LINKED-NEXT: {{.*}}: 0f return
|
|
# LINKED-NEXT: ; {{.*}}line-numbers.s:[[#@LINE-50]]
|
|
# LINKED-NEXT: {{.*}}: 0b end
|