blob: c8cb2db0db73274a75f63085ef6746b4dc6cbd69 [file] [log] [blame]
# RUN: yaml2obj < %s | llvm-nm - | FileCheck %s
# That wasm exports of functions and globals are displayed as global data and
# code symbols.
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: TYPE
Signatures:
- ReturnType: I32
ParamTypes:
- I32
- Type: EXPORT
Exports:
- Name: foo
Kind: FUNCTION
Index: 0x00000004
- Name: bar
Kind: GLOBAL
Index: 0x00000002
# CHECK: 00000002 D bar
# CHECK: 00000004 T foo