[PATCH] D97657: [lld][WebAssembly] Initial support merging string data

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 3 14:38:33 PDT 2021


dschuff accepted this revision.
dschuff added a comment.
This revision is now accepted and ready to land.

I think this is pretty much ok now, other than that I would like to make it more clear exactly which parts are more-or-less directly copied from ELF; that way if we need to understand more in the future, we know where to look (and also if there are changes to ELF in the future we would know to look at those to see if they make sense for us too)



================
Comment at: lld/wasm/InputChunks.cpp:374
+      return ms->parent->getOffset(ms->getParentOffset(offset));
+    return ms->getParentOffset(offset);
+  }
----------------
dschuff wrote:
> This is dead because of the assertion above.
This comment still stands (the else cases is dead, right?)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97657/new/

https://reviews.llvm.org/D97657



More information about the llvm-commits mailing list