[PATCH] D59274: [WebAssembly] Add linker options to control feature checking

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 14:45:44 PDT 2019


tlively created this revision.
tlively added reviewers: sbc100, aheejin.
Herald added subscribers: llvm-commits, jdoerfert, sunfish, jgravelle-google, dschuff.
Herald added a project: LLVM.

Adds --check-features and --no-check-features. The default for now is
to enable the checking, but this might change in the future.

Also adds --features=foo,bar for precisely controlling the features
used in the output binary.

Depends on D59173 <https://reviews.llvm.org/D59173>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D59274

Files:
  lld/test/wasm/target-feature-disallowed.yaml
  lld/test/wasm/target-feature-none.yaml
  lld/test/wasm/target-feature-required.yaml
  lld/test/wasm/target-feature-used.yaml
  lld/wasm/Config.h
  lld/wasm/Driver.cpp
  lld/wasm/Options.td
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59274.190344.patch
Type: text/x-patch
Size: 15138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190312/595586e8/attachment.bin>


More information about the llvm-commits mailing list