[PATCH] D43946: [WebAssembly] Reorder reloc sections to come after symtab

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 2 07:02:18 PST 2018


ncw updated this revision to Diff 136744.
ncw added a comment.

Updated as requested by Sam - just reordering the two lines.

Regardless of what think about how the section order will be validated - I think this change is good to go! Doesn't need anything in LLVM to land first.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D43946

Files:
  wasm/Writer.cpp


Index: wasm/Writer.cpp
===================================================================
--- wasm/Writer.cpp
+++ wasm/Writer.cpp
@@ -631,8 +631,8 @@
 
   // Custom sections
   if (Config->Relocatable) {
-    createRelocSections();
     createLinkingSection();
+    createRelocSections();
   }
   if (!Config->StripDebug && !Config->StripAll)
     createNameSection();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43946.136744.patch
Type: text/x-patch
Size: 370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180302/6daa0a01/attachment.bin>


More information about the llvm-commits mailing list