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/Object | |
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/Object')
-rw-r--r-- | llvm/test/Object/wasm-duplicate-name.test | 3 | ||||
-rw-r--r-- | llvm/test/Object/wasm-relocs-and-producers.yaml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/Object/wasm-duplicate-name.test b/llvm/test/Object/wasm-duplicate-name.test index 1bf20778028..666291c9524 100644 --- a/llvm/test/Object/wasm-duplicate-name.test +++ b/llvm/test/Object/wasm-duplicate-name.test @@ -7,9 +7,10 @@ Sections: - Type: TYPE Signatures: - Index: 0 - ReturnType: I32 ParamTypes: - I32 + ReturnTypes: + - I32 - Type: IMPORT Imports: - Module: foo diff --git a/llvm/test/Object/wasm-relocs-and-producers.yaml b/llvm/test/Object/wasm-relocs-and-producers.yaml index 01ad2bb89fb..2bdc12e4619 100644 --- a/llvm/test/Object/wasm-relocs-and-producers.yaml +++ b/llvm/test/Object/wasm-relocs-and-producers.yaml @@ -16,8 +16,8 @@ Sections: - Type: TYPE Signatures: - Index: 0 - ReturnType: NORESULT ParamTypes: [] + ReturnTypes: [] - Type: IMPORT Imports: - Module: env |