[PATCH] D47162: [WebAssembly] Initial support for LTO

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 21 14:12:11 PDT 2018


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, arichardson, inglorion, mgorny, emaste, dschuff.
Herald added a reviewer: espindola.

This is only first pass at adding LTO support.  Enough to make
the most simple test pass.

A lot of this code is shared with the COFF and ELF linker so this
could be good candidate for a refactoring into shared code.  My
plan is to land this implementation first and then possible attempt
to abstract out the common code.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47162

Files:
  COFF/Driver.cpp
  COFF/LTO.cpp
  ELF/LTO.cpp
  test/wasm/Inputs/start.ll
  test/wasm/lto-plugin-ignore.test
  test/wasm/lto/lto-start.ll
  wasm/CMakeLists.txt
  wasm/Config.h
  wasm/Driver.cpp
  wasm/InputFiles.cpp
  wasm/InputFiles.h
  wasm/LTO.cpp
  wasm/LTO.h
  wasm/Options.td
  wasm/SymbolTable.cpp
  wasm/SymbolTable.h
  wasm/Symbols.cpp
  wasm/Symbols.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47162.147869.patch
Type: text/x-patch
Size: 30561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180521/e63db4e3/attachment.bin>


More information about the llvm-commits mailing list