[PATCH] D44206: [WebAssembly] Create SyntheticFunction for __wasm_call_ctors earlier

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 06:28:27 PST 2018


ncw created this revision.
ncw added reviewers: sbc100, ruiu.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.

This will allow placing it at the start of the Wasm file. Previously we created the symbol with null InputFunction, and created the InputFunction later. Now we create the InputFunction with null body, and set the body later.

---

This is a useful refactor I think! You may think otherwise...


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44206

Files:
  wasm/Driver.cpp
  wasm/InputChunks.h
  wasm/SymbolTable.cpp
  wasm/SymbolTable.h
  wasm/Symbols.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44206.137380.patch
Type: text/x-patch
Size: 7477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180307/8a2c8fd1/attachment.bin>


More information about the llvm-commits mailing list