[PATCH] D41390: Wasm LLD: Don't write out discarded function symbols

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 07:21:36 PST 2017


ncw updated this revision to Diff 127720.
ncw edited the summary of this revision.
ncw added a comment.

Updated:

- Rebased to be on top of Sam's https://reviews.llvm.org/D41419
- Added handling of global symbols, allowing InputSegments to be discarded as well if the InputSegment contains nothing else apart from the discarded Global

All these refactoring patches are going to be a big pain if they can't be merged quickly...


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41390

Files:
  test/wasm/weak-symbols.ll
  wasm/InputChunks.cpp
  wasm/InputChunks.h
  wasm/InputFiles.cpp
  wasm/InputFiles.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41390.127720.patch
Type: text/x-patch
Size: 10654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/63c2fea7/attachment.bin>


More information about the llvm-commits mailing list