[PATCH] D62983: [WebAssembly] Fix for discarded init functions

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 14:32:56 PDT 2019


sbc100 created this revision.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, sunfish, aheejin, jgravelle-google, mehdi_amini, dschuff.
Herald added a project: LLVM.

When a function is excluded via comdat we shouldn't add it to the
final list of init functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62983

Files:
  lld/test/wasm/Inputs/comdat1.ll
  lld/test/wasm/Inputs/comdat2.ll
  lld/test/wasm/comdats.ll
  lld/test/wasm/lto/comdat.ll
  lld/wasm/InputChunks.h
  lld/wasm/InputFiles.cpp
  lld/wasm/MarkLive.cpp
  lld/wasm/Symbols.cpp
  lld/wasm/Symbols.h
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62983.203448.patch
Type: text/x-patch
Size: 10519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190606/fc177fa3/attachment.bin>


More information about the llvm-commits mailing list