[PATCH] D135087: [lld][WebAssemlby] Improve support for -L / -l and add testing

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 10:18:43 PDT 2022


sbc100 created this revision.
Herald added subscribers: pmatos, asb, wingo.
Herald added a project: All.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

- Add support -Bdynamic/-Bstatic and their aliases
- Add support for `--library` and `--library-path` long form args
- Add test based on test/ELF/libsearch.s
- In `-Bdynamic` mode search for `.so` files in preference to `.a`.
- Unlike ELF continue to default to static mode until `-pie` or `-shared` are used.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135087

Files:
  lld/test/wasm/Inputs/libsearch-dyn.s
  lld/test/wasm/Inputs/libsearch-st.s
  lld/test/wasm/Inputs/use-bar.s
  lld/test/wasm/libsearch.s
  lld/wasm/Config.h
  lld/wasm/Driver.cpp
  lld/wasm/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135087.464727.patch
Type: text/x-patch
Size: 10768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221003/ffa6c28e/attachment.bin>


More information about the llvm-commits mailing list