Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / wasm-file-headers.test
blob036bcf195624f2e2c656e74cd5ae98743e0bface
1 # RUN: yaml2obj %s -o %t.wasm
2 # RUN: llvm-readobj -h %t.wasm \
3 # RUN:  | FileCheck %s -DFILE=%t.wasm --strict-whitespace --match-full-lines
5 #      CHECK:File: [[FILE]]
6 # CHECK-NEXT:Format: WASM
7 # CHECK-NEXT:Arch: wasm32
8 # CHECK-NEXT:AddressSize: 32bit
9 # CHECK-NEXT:Version: 0x1
10 # CHECK-NOT:{{.}}
12 --- !WASM
13 FileHeader:
14   Version: 0x00000001