[PATCH] D57424: [WebAssembly] Add missing SymbolRef update from rL352551
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 29 16:16:00 PST 2019
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL352573: [WebAssembly] Add missing SymbolRef update from rL352551 (authored by sbc, committed by ).
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57424/new/
https://reviews.llvm.org/D57424
Files:
llvm/trunk/lib/Object/WasmObjectFile.cpp
Index: llvm/trunk/lib/Object/WasmObjectFile.cpp
===================================================================
--- llvm/trunk/lib/Object/WasmObjectFile.cpp
+++ llvm/trunk/lib/Object/WasmObjectFile.cpp
@@ -1422,8 +1422,8 @@
if (Rel.Type == wasm::R_WEBASSEMBLY_TYPE_INDEX_LEB)
return symbol_end();
DataRefImpl Sym;
- Sym.d.a = Rel.Index;
- Sym.d.b = 0;
+ Sym.d.a = 1;
+ Sym.d.b = Rel.Index;
return symbol_iterator(SymbolRef(Sym, this));
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57424.184203.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/fc968662/attachment.bin>
More information about the llvm-commits
mailing list