[PATCH] D59343: [WebAssembly] Add option to emit passive segments

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 17:00:22 PDT 2019


tlively updated this revision to Diff 207176.
tlively added a comment.

Change to use explicit flags instead of depending on shared
memory. This means this change is a nop in existing
toolchains. Emscripten can be taught to use the new flags explicitly
without requiring a manual double roll.

After emscripten is updated to use the flags explicitly the default
behavior can be changed to depend on --shared-memory.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59343

Files:
  lld/test/wasm/data-segment-merging.ll
  lld/test/wasm/data-segments.ll
  lld/wasm/Config.h
  lld/wasm/Driver.cpp
  lld/wasm/MarkLive.cpp
  lld/wasm/Options.td
  lld/wasm/OutputSections.cpp
  lld/wasm/OutputSegment.h
  lld/wasm/Symbols.cpp
  lld/wasm/Symbols.h
  lld/wasm/SyntheticSections.cpp
  lld/wasm/Writer.cpp
  llvm/include/llvm/BinaryFormat/Wasm.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59343.207176.patch
Type: text/x-patch
Size: 25713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190629/32684600/attachment.bin>


More information about the llvm-commits mailing list