[PATCH] D81962: [lld][WebAssembly] Allow ctors functions that return values

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 16 16:29:03 PDT 2020


sunfish added a comment.

This change looks fine to me, though if you wanted to minimize the amount of code being emitted by the linker, another option would be to look into whether LLVM's FixFunctionBitcasts could handle this -- there should be a bitcast in the llvm.global_ctors array.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81962/new/

https://reviews.llvm.org/D81962





More information about the llvm-commits mailing list