mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
fd1c894a4a
When we originally wrote these tests we didn't have a stable and fleshed out assembly format. Now we do so we should prefer that over llvm ir for lld tests to avoid including more part of llvm than necessary in order to run the test. This change converts just 30 out of about 130 test files. More to come when I have some more time. Differential Revision: https://reviews.llvm.org/D80361
14 lines
324 B
ArmAsm
14 lines
324 B
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
|
|
# RUN: wasm-ld -o %t.wasm %t.o
|
|
# RUN: llvm-readobj --file-headers %t.wasm | FileCheck %s
|
|
|
|
.globl _start
|
|
_start:
|
|
.functype _start () -> ()
|
|
end_function
|
|
|
|
# CHECK: Format: WASM
|
|
# CHECK: Arch: wasm32
|
|
# CHECK: AddressSize: 32bit
|
|
# CHECK: Version: 0x1
|