summaryrefslogtreecommitdiffstats
path: root/lld/test/wasm/signature-mismatch-weak.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WebAssembly] Remove duplicate function. NFC.Sam Clegg2018-11-011-2/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D53963 llvm-svn: 345806
* Revert "[WebAssembly] Error on mismatched function signature in final output"Sam Clegg2018-06-221-2/+1
| | | | | | | | | | 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-1/+2
| | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | 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] 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-3/+2
| | | | | | | | | But only produce a warning (for now) unless --fatal-warnings is passed. Differential Revision: https://reviews.llvm.org/D46484 llvm-svn: 331574
* [WebAssembly] Add explicit symbol tableSam Clegg2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | 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
* [WebAssembly] Check signatures of weakly defined funtions tooSam Clegg2018-02-201-0/+19
Subscribers: jfb, dschuff, jgravelle-google, aheejin, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D43492 llvm-svn: 325598
OpenPOWER on IntegriCloud