summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/export-all.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Don't error when --undefined symbols are not foundSam Clegg2018-08-041-1/+1
| | | | | | | | | | | | | | | This matches the behavior of the ELF linker where -u/--undefined means symbols will get pulled in from archives but won't result in link error if they are missing. Also, don't actually great symbol table entries for the undefined symbols, again matching more closely the ELF linker. This also results in simplification of the code. Differential Revision: https://reviews.llvm.org/D50279 llvm-svn: 338938
* [WebAssembly] Add support for bitcode archive membersSam Clegg2018-06-281-7/+10
| | | | | | | | | | This change effects the behavior of --export-all. Previously --export-all would only effect symbols that survived GC. Now --export-all will prevent any non-local symbols from being GCed. Differential Revision: https://reviews.llvm.org/D48673 llvm-svn: 335878
* [WebAssembly] Add --export-all flagSam Clegg2018-06-071-0/+45
This causes all symbols to be exported in the final wasm binary even if they were not compiled with default visibility. This feature is useful for the emscripten toolchain that has a corresponding EXPORT_ALL feature which allows the JS code to interact with all C function. Differential Revision: https://reviews.llvm.org/D47806 llvm-svn: 334157
OpenPOWER on IntegriCloud