[PATCH] D40724: Wasm entrypoint changes #1 (add --undefined argument to LLD) APPLY AFTER D40690

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 06:57:18 PST 2017


ncw created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jfb.

This is split out from https://reviews.llvm.org/D40559 as requested.

It adds a new argument to wasm-lld, `--undefined`, with similar semantics to the ELF linker. It pulls in symbols from files contained within a `.a` archive, forcing them to be included even if the translation unit would not otherwise be pulled in.

APPLY AFTER https://reviews.llvm.org/D40690.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D40724

Files:
  test/wasm/load-undefined.ll
  wasm/Driver.cpp
  wasm/Options.td
  wasm/SymbolTable.cpp
  wasm/Symbols.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40724.125132.patch
Type: text/x-patch
Size: 4664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171201/41bfad90/attachment.bin>


More information about the llvm-commits mailing list