summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/stack-pointer.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Allow multivalue signatures in object filesThomas Lively2019-10-181-1/+2
| | | | | | | | | | | | | | | | | 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
* [WebAssembly] Update relocation naming to match llvm change. NFC.Sam Clegg2019-02-041-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D57698 llvm-svn: 353066
* [WebAssembly] Store section alignment as a power of 2Sam Clegg2019-01-161-1/+1
| | | | | | | | | | | This change bumps for version number of the wasm object file metadata. See https://github.com/WebAssembly/tool-conventions/pull/92 Differential Revision: https://reviews.llvm.org/D56762 llvm-svn: 351287
* [WebAssembly] Instruction renamingThomas Lively2019-01-081-1/+1
| | | | | | | | | | | | Summary: Associated with D56338. Reviewers: aheejin, aardappel Subscribers: dschuff, sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D56339 llvm-svn: 350610
* [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] Add version to linking section (to match llvm-side change)Sam Clegg2018-04-261-0/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D46070 llvm-svn: 330971
* [WebAssembly] Reorder symbol table to match MC orderNicholas Wilson2018-02-281-6/+6
| | | | | | | | | Update LLD test expectations for new symbol ordering introduced by Differential D43685. Differential Revision: https://reviews.llvm.org/D43875 llvm-svn: 326335
* [WebAssembly] Remove DataSize from linking metadataSam Clegg2018-02-271-1/+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
* [WebAssembly] Add explicit symbol tableSam Clegg2018-02-231-6/+12
| | | | | | | | | | | | | | | | | | This change modified lld to in response the llvm change which moved to a more explicit symbol table in the object format. Based on patches by Nicholas Wilson: 1. https://reviews.llvm.org/D41955 2. https://reviews.llvm.org/D42585 The primary difference that we see in the test output is that for relocatable (-r) output we now have symbol table which replaces exports/imports and globals. See: https://github.com/WebAssembly/tool-conventions/issues/38 Differential Revision: https://reviews.llvm.org/D43264 llvm-svn: 325861
* 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] Always start table index at 1, even for relocatable outputSam Clegg2018-01-241-2/+2
| | | | | | | | | | | | Previously llvm was using 0 as the first table index for wasm object files but now that has switched to 1 we can have the output of lld do the same and simplify the code. Patch by Nicholas Wilson! Differential Revision: https://reviews.llvm.org/D42096 llvm-svn: 323378
* [WebAssembly] Use inline target tripple in test casesSam Clegg2018-01-241-1/+3
| | | | | | | | | | 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
* Remove trailing whitespace.Rui Ueyama2018-01-241-2/+2
| | | | llvm-svn: 323287
* [WebAssembly] Remove --emit-relocsSam Clegg2018-01-221-41/+14
| | | | | | | | | | This was added to mimic ELF, but maintaining it has cost and we currently don't have any use for it outside of the test code. Differential Revision: https://reviews.llvm.org/D42324 llvm-svn: 323154
* [WebAssembly] Remove special handling of entry point export.Sam Clegg2018-01-201-3/+3
| | | | | | | | | | | | Its much easier to export it via setHidden(false), now that that is a thing. As a side effect the start function is not longer always exports first (becuase its being exported just like all the other function). Differential Revision: https://reviews.llvm.org/D42321 llvm-svn: 323025
* [WebAssembly] Export the stack pointer when using --emit-relocsSam Clegg2018-01-181-0/+3
| | | | | | | | | | | | This solves the problem that --emit-relocs needs the stack-pointer to be exported, in order to write out any relocations that reference the __stack_pointer symbol by its symbol index. Patch by Nicholas Wilson! Differential Revision: https://reviews.llvm.org/D42237 llvm-svn: 322911
* [WebAssembly] Define __heap_base globalSam Clegg2018-01-171-0/+9
| | | | | | | | | This is an immutable exported global representing the start of the heap area. It is a page aligned. Differential Revision: https://reviews.llvm.org/D42030 llvm-svn: 322609
* [WebAssembly] Create synthetic __wasm_call_ctors functionSam Clegg2018-01-121-1/+12
| | | | | | | | | | | 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-1/+1
| | | | llvm-svn: 321044
* [WebAssembly] Update YAML expected output after llvm changeSam Clegg2017-12-141-1/+1
| | | | | | | | See: https://reviews.llvm.org/D41202 Differential Revision: https://reviews.llvm.org/D41210 llvm-svn: 320662
* Remove trailing whitespace.Rui Ueyama2017-12-121-14/+14
| | | | llvm-svn: 320520
* [WebAssembly] Improve wasm test casesSam Clegg2017-12-081-4/+1
| | | | | | | | | | | | | | | | 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] Fix stack pointer relocationsSam Clegg2017-12-051-0/+67
This line was mistakenly deleted in rL319813 Add a test for stackpointer relocations. Differential Revision: https://reviews.llvm.org/D40847 llvm-svn: 319828
OpenPOWER on IntegriCloud