llvm-project/lld/test/wasm
Sam Clegg 0362633fd2 [WebAssembly] Add support for --gc-sections
In this initial version we only GC symbols with `hidden` visibility since
other symbols we export to the embedder.

We could potentially modify this the future and only use symbols
explicitly passed via `--export` as GC roots.

This version of the code only does GC of data and code. GC for the
types section is coming soon.

Differential Revision: https://reviews.llvm.org/D42511

llvm-svn: 323842
2018-01-31 01:45:47 +00:00
..
Inputs [WebAssembly] Reduce redundancy in tests 2018-01-31 00:13:26 +00:00
alias.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
archive.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
call-indirect.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
comdats.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
conflict.test [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
data-layout.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
entry.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
export.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
function-imports-first.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
function-imports.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
function-index.test [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
gc-sections.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
import-memory.test [WebAssembly] Reduce redundancy in tests 2018-01-31 00:13:26 +00:00
init-fini.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
invalid-stack-size.test [WebAssembly] Reduce redundancy in tests 2018-01-31 00:13:26 +00:00
lit.local.cfg
load-undefined.test [WebAssembly] Reduce redundancy in tests 2018-01-31 00:13:26 +00:00
local-symbols.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
locals-duplicate.test [WebAssembly] Always start table index at 1, even for relocatable output 2018-01-24 21:37:30 +00:00
many-functions.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
relocatable.ll [WebAssembly] Always start table index at 1, even for relocatable output 2018-01-24 21:37:30 +00:00
signature-mismatch.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
stack-pointer.ll [WebAssembly] Always start table index at 1, even for relocatable output 2018-01-24 21:37:30 +00:00
strip-debug.test [WebAssembly] Reduce redundancy in tests 2018-01-31 00:13:26 +00:00
symbol-type-mismatch.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
undefined-entry.test [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
undefined.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
version.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
visibility-hidden.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
weak-alias-overide.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00
weak-alias.ll [WebAssembly] Don't duplicate functions in table output 2018-01-24 21:45:25 +00:00
weak-symbols.ll [WebAssembly] Add support for --gc-sections 2018-01-31 01:45:47 +00:00
weak-undefined.ll [WebAssembly] Use inline target tripple in test cases 2018-01-24 03:29:47 +00:00