]> granicus.if.org Git - llvm/commit
[WebAssembly] Fix import type to be signed LEBs
authorDerek Schuff <dschuff@google.com>
Thu, 23 Mar 2017 15:46:47 +0000 (15:46 +0000)
committerDerek Schuff <dschuff@google.com>
Thu, 23 Mar 2017 15:46:47 +0000 (15:46 +0000)
commitcdcf70c24984ee2c840c9beb1a36455d2d9fafaf
treef8a044fd50dbec338746481418cec997f88f1f76
parent9b7e7ec31e10ac4bcdfd2163947c1bd5a9df92ac
[WebAssembly] Fix import type to be signed LEBs

This fix is a follow up a previous change with stored
value types as signed integers in memory.

In future, once the yaml<->wasm binary patche lands we
can add test coverage for this kind of thing.

Differential Revision: https://reviews.llvm.org/D31227

Patch by Sam Clegg

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298612 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WasmObjectWriter.cpp