llvm-project/llvm/test/tools/llvm-readobj/wasm/wasm-file-headers.test
Georgii Rymar dbf520f617 [llvm-readobj][test] - Move platform specific test cases and their inputs to separate folders.
This creates the next subfolders in the test directory:
"COFF", "ELF", "MachO", "wasm".

I've also removed platform specific prefixes, like "coff-*".
One unused binary was removed as well: `Inputs/relocs.obj.elf-mips`

Differential revision: https://reviews.llvm.org/D71203
2019-12-10 11:36:23 +03:00

15 lines
342 B
Plaintext

# RUN: yaml2obj %s -o %t.wasm
# RUN: llvm-readobj -h %t.wasm \
# RUN: | FileCheck %s -DFILE=%t.wasm --strict-whitespace --match-full-lines
# CHECK:File: [[FILE]]
# CHECK-NEXT:Format: WASM
# CHECK-NEXT:Arch: wasm32
# CHECK-NEXT:AddressSize: 32bit
# CHECK-NEXT:Version: 0x1
# CHECK-NOT:{{.}}
--- !WASM
FileHeader:
Version: 0x00000001