summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/fatal-warnings.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Use wasm-ld rather than lld with -flavor in tests. NFC.Sam Clegg2019-02-051-2/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D57758 llvm-svn: 353187
* Revert "[WebAssembly] Error on mismatched function signature in final output"Sam Clegg2018-06-221-5/+0
| | | | | | | | | | This caused a lot of issues on the WebAssembly waterfall. In particular, until with the signature of `main`. We probably want a better solution for main before we re-land. Reverts rL335192 llvm-svn: 335355
* [WebAssembly] Error on mismatched function signature in final outputSam Clegg2018-06-211-0/+5
| | | | | | | | | | | | | During symbol resolution, emit warnings for function signature mismatches. During GC, if any mismatched symbol is marked as live then generate an error. This means that we only error out if the mismatch is written to the final output. i.e. if we would generate an invalid wasm file. Differential Revision: https://reviews.llvm.org/D48394 llvm-svn: 335192
* [WebAssembly] Update function signature mismatch error message. NFC.Sam Clegg2018-06-201-2/+2
| | | | | | | | | | We don't start our error messages with capital letters. Split out from https://reviews.llvm.org/D48394 Differential Revision: https://reviews.llvm.org/D48400 llvm-svn: 335186
* [WebAssembly] Allow signautre of entry function to be flexibleSam Clegg2018-05-141-6/+9
| | | | | | | | | Since we a no longer using this function for the wasm start section we don't actually care what its signature is. Differential Revision: https://reviews.llvm.org/D46594 llvm-svn: 332308
* [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-0/+14
But only produce a warning (for now) unless --fatal-warnings is passed. Differential Revision: https://reviews.llvm.org/D46484 llvm-svn: 331574
OpenPOWER on IntegriCloud