projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db22f9
)
[WebAssembly] Fix import type to be signed LEBs
author
Derek Schuff
<dschuff@google.com>
Thu, 23 Mar 2017 15:46:47 +0000
(15:46 +0000)
committer
Derek Schuff
<dschuff@google.com>
Thu, 23 Mar 2017 15:46:47 +0000
(15:46 +0000)
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
llvm-svn: 298612
llvm/lib/MC/WasmObjectWriter.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/MC/WasmObjectWriter.cpp
b/llvm/lib/MC/WasmObjectWriter.cpp
index
86185b9
..
0b703f4
100644
(file)
--- a/
llvm/lib/MC/WasmObjectWriter.cpp
+++ b/
llvm/lib/MC/WasmObjectWriter.cpp
@@
-338,7
+338,7
@@
struct WasmImport {
StringRef ModuleName;
StringRef FieldName;
unsigned Kind;
-
u
int32_t Type;
+ int32_t Type;
};
// A wasm function to be written into the function section.