[PATCH] D92323: [WebAssembly][MC] Fix placement of table section
Andy Wingo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 7 06:57:31 PST 2020
wingo updated this revision to Diff 309906.
wingo added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92323/new/
https://reviews.llvm.org/D92323
Files:
llvm/lib/MC/WasmObjectWriter.cpp
Index: llvm/lib/MC/WasmObjectWriter.cpp
===================================================================
--- llvm/lib/MC/WasmObjectWriter.cpp
+++ llvm/lib/MC/WasmObjectWriter.cpp
@@ -1787,10 +1787,10 @@
writeTypeSection(Signatures);
writeImportSection(Imports, DataSize, TableElems.size());
writeFunctionSection(Functions);
+ writeTableSection(Tables);
// Skip the "memory" section; we import the memory instead.
writeEventSection(Events);
writeGlobalSection(Globals);
- writeTableSection(Tables);
writeExportSection(Exports);
writeElemSection(TableElems);
writeDataCountSection();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92323.309906.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201207/867259b1/attachment.bin>
More information about the llvm-commits
mailing list