repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
ObjectYAML
/
wasm
/
invalid_global_weak.yaml
blob
4566e8f0f009de8445d910ddad7522223990d184
1
# RUN: yaml2obj < %s | not obj2yaml 2>&1 | FileCheck %s
2
3
--- !WASM
4
FileHeader:
5
Version: 0x00000001
6
Sections:
7
- Type: IMPORT
8
Imports:
9
- Module: fiz
10
Field: imported_global
11
Kind: GLOBAL
12
GlobalType: I32
13
GlobalMutable: false
14
- Type: CUSTOM
15
Name: linking
16
Version: 2
17
SymbolTable:
18
- Index: 0
19
Kind: GLOBAL
20
Name: imported_global
21
Flags: [ BINDING_WEAK, UNDEFINED ]
22
Global: 0
23
...
24
25
# CHECK: Error reading file: <stdin>: undefined weak global symbol