diff options
author | Thomas Lively <tlively@google.com> | 2019-10-18 20:27:30 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-10-18 20:27:30 +0000 |
commit | 393d0f799f8828e9d8002766a9e9db21797451df (patch) | |
tree | 3d8ab2119713681752d60d57ab898349973380f2 /llvm/test/ObjectYAML/wasm/export_section.yaml | |
parent | c6921379f55ee566fb62ba5aa47b217cf7c5d960 (diff) | |
download | bcm5719-llvm-393d0f799f8828e9d8002766a9e9db21797451df.tar.gz bcm5719-llvm-393d0f799f8828e9d8002766a9e9db21797451df.zip |
[WebAssembly] Allow multivalue signatures in object files
Summary:
Also changes the wasm YAML format to reflect the possibility of having
multiple return types and to put the returns after the params for
consistency with the binary encoding.
Reviewers: aheejin, sbc100
Subscribers: dschuff, jgravelle-google, hiraditya, sunfish, arphaman, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69156
llvm-svn: 375283
Diffstat (limited to 'llvm/test/ObjectYAML/wasm/export_section.yaml')
-rw-r--r-- | llvm/test/ObjectYAML/wasm/export_section.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/ObjectYAML/wasm/export_section.yaml b/llvm/test/ObjectYAML/wasm/export_section.yaml index af72f136811..4b3487cec5a 100644 --- a/llvm/test/ObjectYAML/wasm/export_section.yaml +++ b/llvm/test/ObjectYAML/wasm/export_section.yaml @@ -6,8 +6,8 @@ Sections: - Type: TYPE Signatures: - Index: 0 - ReturnType: NORESULT ParamTypes: + ReturnTypes: [] - Type: FUNCTION FunctionTypes: [ 0, 0 ] - Type: GLOBAL @@ -25,7 +25,7 @@ Sections: Opcode: I64_CONST Value: 64 - Type: EXPORT - Exports: + Exports: - Name: function_export Kind: FUNCTION Index: 1 @@ -52,7 +52,7 @@ Sections: # CHECK: Version: 0x00000001 # CHECK: Sections: # CHECK: - Type: EXPORT -# CHECK: Exports: +# CHECK: Exports: # CHECK: - Name: function_export # CHECK: Kind: FUNCTION # CHECK: Index: 1 |