[PATCH] D44313: [WebAssembly] Implement GC for imports

Nicholas Wilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 10:02:50 PST 2018


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

It's fairly straightforward - we just need a Live flag on the symbol to track whether undefined symbols were accessed or not.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D44313

Files:
  test/wasm/Inputs/undefined-globals.yaml
  test/wasm/gc-imports.ll
  wasm/MarkLive.cpp
  wasm/Symbols.cpp
  wasm/Symbols.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44313.137782.patch
Type: text/x-patch
Size: 10731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/5ecd2020/attachment.bin>


More information about the llvm-commits mailing list