[PATCH] D42747: [WebAssembly] Write minimal types section

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 10:08:50 PST 2018


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

Don't include type signatures that are not referenced by
some relocation.

We don't include this in the -gc-sections settings since
we are alwasy building the type section from scratch,
just like we do the table elements.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42747

Files:
  test/wasm/call-indirect.ll
  test/wasm/gc-sections.ll
  test/wasm/relocatable.ll
  wasm/InputChunks.h
  wasm/InputFiles.cpp
  wasm/InputFiles.h
  wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42747.132205.patch
Type: text/x-patch
Size: 12437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180131/1439a247/attachment.bin>


More information about the llvm-commits mailing list