1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/tools/llvm-readobj/wasm-file-headers.test
George Rimar 59cf4e3d17 [llvm-readobj] - Stop using precompiled objects in file-headers.test
This converts all sub-tests except one to YAML instead of precompiled inputs.

Differential revision: https://reviews.llvm.org/D64800

llvm-svn: 366668
2019-07-22 08:10:02 +00: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