[PATCH] D40845: [WebAssembly] COMDAT: LLD support

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 08:12:48 PST 2017


ncw updated this revision to Diff 127731.
ncw retitled this revision from "Wasm COMDAT: LLD support" to "[WebAssembly] COMDAT: LLD support".
ncw edited the summary of this revision.
ncw added a comment.
Herald added subscribers: jgravelle-google, dschuff.

Rebased on top of Sam's refactoring work...

APPLY AFTER:

- https://reviews.llvm.org/D41315 (Sam's commit "Output functions individually")
- https://reviews.llvm.org/D41419 (Sam's commit "Add InputChunk base class")
- https://reviews.llvm.org/D41390 (My commit, "Don't write out discarded symbols")

Also added support for "relocatable" output from LLD, which should also include the Comdats merged from all the input files.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D40845

Files:
  test/wasm/Inputs/comdat1.ll
  test/wasm/Inputs/comdat2.ll
  test/wasm/comdats.ll
  test/wasm/relocatable.ll
  wasm/InputChunks.h
  wasm/InputFiles.cpp
  wasm/SymbolTable.cpp
  wasm/SymbolTable.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40845.127731.patch
Type: text/x-patch
Size: 15206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/0402abc5/attachment.bin>


More information about the llvm-commits mailing list