[PATCH] D95420: Revert "[WebAssembly] MC layer writes table symbols to object files"

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 08:46:49 PST 2021


sbc100 added a comment.

In D95420#2522869 <https://reviews.llvm.org/D95420#2522869>, @wingo wrote:

> I agree that old object files should always be consumable by new linkers.  But the reverse does not follow for me in an obvious way.  Is there a bound on how old a wasm-ld is supported for new compilers?  Like is it one major version, or six, or all of them?

I think its more that we shouldn't break forward compatibility unless we need too.   In this case it seems that we can avoid the breakage for those that don't explicitly opt into the new feature (reference types).      The approach we chose to take here broke forward comat for *all* object files.. this is something can could consider doing one day, but I would like to minimize the number of times we do this (and reserve that action for something more like a complete re-design of the object format).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95420



More information about the llvm-commits mailing list