repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Cortex-M4 schedule additions
[llvm-complete.git]
/
test
/
tools
/
llvm-nm
/
wasm
/
imports.yaml
blob
2ea0d0f13fe34fd52fda8a9483a7ac8616762477
1
# RUN: yaml2obj < %s | llvm-nm - | FileCheck -strict-whitespace %s
2
3
# Check that wasm import of functions/globals/data are displayed correctly
4
5
--- !WASM
6
FileHeader:
7
Version: 0x00000001
8
Sections:
9
- Type: TYPE
10
Signatures:
11
- Index: 0
12
ReturnType: I32
13
ParamTypes:
14
- I32
15
- Type: IMPORT
16
Imports:
17
- Module: env
18
Field: fimport
19
Kind: FUNCTION
20
SigIndex: 0
21
- Module: env
22
Field: gimport
23
Kind: GLOBAL
24
GlobalType: I32
25
GlobalMutable: false
26
- Type: CUSTOM
27
Name: linking
28
Version: 2
29
SymbolTable:
30
- Index: 0
31
Kind: FUNCTION
32
Name: fimport
33
Flags: [ UNDEFINED ]
34
Function: 0
35
- Index: 1
36
Kind: GLOBAL
37
Name: gimport
38
Flags: [ UNDEFINED ]
39
Global: 0
40
- Index: 2
41
Kind: DATA
42
Name: dimport
43
Flags: [ UNDEFINED ]
44
45
# CHECK: U dimport
46
# CHECK-NEXT: U fimport
47
# CHECK-NEXT: U gimport