summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/function-imports-first.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Allow multivalue signatures in object filesThomas Lively2019-10-181-3/+4
| | | | | | | | | | | | | | | | | Summary: Also changes the wasm YAML format to reflect the possibility of having multiple return types and to put the returns after the params for consistency with the binary encoding. Reviewers: aheejin, sbc100 Subscribers: dschuff, jgravelle-google, hiraditya, sunfish, arphaman, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69156 llvm-svn: 375283
* [WebAssebmly] Allow __wasm_call_ctors to be GC'edSam Clegg2019-03-011-8/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D58806 llvm-svn: 355240
* [WebAssembly] Remove final -wasm component of target triple. NFC.Sam Clegg2018-05-101-1/+1
| | | | | | This has been the default for a while now. llvm-svn: 332009
* [WebAssembly] Check function signatures by defaultSam Clegg2018-05-051-1/+1
| | | | | | | | | But only produce a warning (for now) unless --fatal-warnings is passed. Differential Revision: https://reviews.llvm.org/D46484 llvm-svn: 331574
* [WebAssembly] Reorder synthetic functions to come firstNicholas Wilson2018-03-121-7/+7
| | | | | | | | | This matches the existing ordering that's been there for globals for a while (__stack_pointer coming first). Differential Revision: https://reviews.llvm.org/D44333 llvm-svn: 327286
* [WebAssembly] Remove DataSize from linking metadataSam Clegg2018-02-271-3/+0
| | | | | | | | | This means we don't need to write the linking metadata section at all for executable (non-relocatable) output. Differential Revision: https://reviews.llvm.org/D42869 llvm-svn: 326268
* Use wasm-ld instead of "lld -flavor wasm".Rui Ueyama2018-02-161-1/+1
| | | | | | | | | | Invoking lld as ld.lld, ld.ld64, lld-link or wasm-ld is preferred than invoking lld as lld and pass an -flavor option. We have "lld" file mostly for historical reasons. Differential Revision: https://reviews.llvm.org/D43407 llvm-svn: 325405
* [WebAssembly] Fix signature mismatches in test codeSam Clegg2018-02-021-1/+1
| | | | | | | | | Pass --check-signatures to test executions of lld and fix resulting errors. Differential Revision: https://reviews.llvm.org/D42661 llvm-svn: 324042
* [WebAssembly] Use inline target tripple in test casesSam Clegg2018-01-241-2/+4
| | | | | | | | | | This is somewhat preferable since (in many cases) it allows llc to be run directly on the .ll files without having to pass the `-mtriple` argument. Differential Revision: https://reviews.llvm.org/D42438 llvm-svn: 323299
* [WebAssembly] Create synthetic __wasm_call_ctors functionSam Clegg2018-01-121-1/+6
| | | | | | | | | | | This change create a new synthetic function in the final output binary which calls the static constructors in sequence. See: https://github.com/WebAssembly/tool-conventions/issues/25 Differential Revision: https://reviews.llvm.org/D41893 llvm-svn: 322388
* [WebAssembly] Update YAML in tests to match LLVM changeSam Clegg2018-01-091-2/+4
| | | | | | Differential Revision: https://reviews.llvm.org/D41878 llvm-svn: 322122
* [WebAssemlby] Fix typo in target triple used in testsSam Clegg2017-12-191-2/+2
| | | | llvm-svn: 321044
* Remove trailing whitespace.Rui Ueyama2017-12-121-1/+1
| | | | llvm-svn: 320520
* [WebAssembly] Improve wasm test casesSam Clegg2017-12-081-5/+2
| | | | | | | | | | | | | | | | Add test for weakly defined symbols with the same name Improve test for call-indirect to include the same call in two different objects. This lays the ground work to improve the output via de-duplicating the indirect call table: https://reviews.llvm.org/D40989 Also make all tests consistently pass -mtriple rather than declaring in the sources. Differential Revision: https://reviews.llvm.org/D41024 llvm-svn: 320172
* [WebAssembly] Initial wasm linker implementationSam Clegg2017-11-171-0/+45
This linker backend is still a work in progress but is enough to link simple programs including linking against library archives. Differential Revision: https://reviews.llvm.org/D34851 llvm-svn: 318539
OpenPOWER on IntegriCloud