llvm-for-llvmta/test/MC/WebAssembly/alias.s

16 lines
317 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s | llvm-objdump -t - | FileCheck %s
.section .data,"",@
foo:
.int32 1
.size foo, 4
sym_a:
.int32 2
.size sym_a, 4
.set sym_b, sym_a
# CHECK: 00000000 l O DATA foo
# CHECK: 00000004 l O DATA sym_a
# CHECK: 00000004 l O DATA sym_b