mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
7bc608206a
This change bumps for version number of the wasm object file metadata. See https://github.com/WebAssembly/tool-conventions/pull/92 Differential Revision: https://reviews.llvm.org/D56758 llvm-svn: 351285
26 lines
671 B
YAML
26 lines
671 B
YAML
# RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
|
|
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: IMPORT
|
|
Imports:
|
|
- Module: fiz
|
|
Field: imported_global
|
|
Kind: GLOBAL
|
|
GlobalType: I32
|
|
GlobalMutable: false
|
|
- Type: CUSTOM
|
|
Name: linking
|
|
Version: 2
|
|
SymbolTable:
|
|
- Index: 0
|
|
Kind: GLOBAL
|
|
Name: imported_global
|
|
Flags: [ BINDING_WEAK, UNDEFINED ]
|
|
Global: 0
|
|
...
|
|
|
|
# CHECK: Error reading file: <stdin>: undefined weak global symbol
|