brintos

brintos / llvm-project-archived public Read only

0
0
Text · 671 B · 4566e8f Raw
26 lines · yaml
1# RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s2 3--- !WASM4FileHeader:5  Version:         0x000000016Sections:7  - Type:            IMPORT8    Imports:9      - Module:          fiz10        Field:           imported_global11        Kind:            GLOBAL12        GlobalType:      I3213        GlobalMutable:   false14  - Type:            CUSTOM15    Name:            linking16    Version:         217    SymbolTable:18      - Index:           019        Kind:            GLOBAL20        Name:            imported_global21        Flags:           [ BINDING_WEAK, UNDEFINED ]22        Global:          023...24 25# CHECK: Error reading file: <stdin>: undefined weak global symbol26