[all-commits] [llvm/llvm-project] 0a9756: [lld][WebAssemlby] Improve support for -L / -l and...

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Oct 3 17:02:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a9756fc15c57dc94146e65d251d7a3d941ae78a
      https://github.com/llvm/llvm-project/commit/0a9756fc15c57dc94146e65d251d7a3d941ae78a
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

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

  Log Message:
  -----------
  [lld][WebAssemlby] Improve support for -L / -l and add testing

- 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.

Differential Revision: https://reviews.llvm.org/D135087




More information about the All-commits mailing list