| commit | 1be4bf9abcbea756d628beb870efb09e6fdcc1a8 | [log] [tgz] |
|---|---|---|
| author | Sam Clegg <sbc@chromium.org> | Tue May 15 21:49:58 2018 +0000 |
| committer | Sam Clegg <sbc@chromium.org> | Tue May 15 21:49:58 2018 +0000 |
| tree | 70a6f3ed949dae30d6406049640cf152505b06a5 | |
| parent | ad5684aae0c1c21a0e2ec3949bd3b52d47b1a21b [diff] |
[WebAssembly] Provide WasmFunction content offset information. WasmObjectWriter mostly operates with function segments offsets that do not include their size fields. WasmObjectFile needs to have and provide this information to the lld to maintain proper R_WEBASSEMBLY_FUNCTION_OFFSET_I32 relocations entries. Patch by Yury Delendik Differential Revision: https://reviews.llvm.org/D46763 llvm-svn: 332406