Commit Graph

1002 Commits

Author SHA1 Message Date
Nikolay Nikolov
edbb865260 + added comment for the new error message 2023-06-20 15:39:34 +03:00
Nikolay Nikolov
fce34eb4bf + disallow WebAssembly reference types in records, objects and classes 2023-06-20 15:13:15 +03:00
Nikolay Nikolov
8ac46ed38c Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-20 13:31:32 +03:00
Michael VAN CANNEYT
a74a35a16e * Check that system unit is actually loaded before using it to search for system symbols
(cherry picked from commit 9e5ee68887)
2023-06-19 15:33:15 +02:00
Nikolay Nikolov
76474c85bd + comments for the new error messages 2023-06-19 15:53:15 +03:00
Michael VAN CANNEYT
5605cebd46 * Implement -t and -x options
* Fix spurious warning of already specified -t
* If no subtarget file found, error out instead of hint/warn
* Globals needs subtarget for macro substitution
2023-06-19 07:04:50 +00:00
Nikolay Nikolov
8acf2e3ff3 + print a proper error message if a suspending external is used on a non-WebAssembly platform 2023-06-17 12:46:44 +03:00
Nikolay Nikolov
f800e40595 + print an error message, in case 'promising' exports are used on non-WebAssembly platform 2023-06-16 15:44:58 +03:00
Nikolay Nikolov
f670ebbb28 * disallow WebAssembly reference types to be declared as var, constref or out parameters 2023-06-11 08:17:06 +03:00
Nikolay Nikolov
8743f72f11 + disallow taking the address of WebAssembly externref type 2023-06-11 04:01:58 +03:00
Michaël Van Canneyt
0515be62b4 * Add option to allow emitting comments in RTTI info 2023-05-29 13:41:25 +00:00
florian
8ae016fb85 * clearified message is mentioned in documentation issue 39349 2023-05-21 15:38:21 +02:00
florian
d06852e6e9 + exec_e_cant_call_linker shows now the error message 2023-02-11 21:07:01 +01:00
florian
f4d9082028 * copyright for 2023 updated 2023-01-09 22:54:46 +01:00
Tomas Hajny
baf950bf76 * improved consistency as suggested in bug #40008 2022-12-31 17:27:06 +01:00
Ondrej Pokorny
55629aeb19 do not publish enums with jumps 2022-08-16 20:47:44 +02:00
kamischi
d13a867127 Update reference 2022-07-31 21:55:41 +00:00
kamischi
dd5c2ea6e9 Update errord*.msg
new messages and other changes in errore.msg have been translated or ported to the German message files.
2022-07-31 21:55:41 +00:00
Jonas Maebe
403292a131 LLVM backend: address sanitizer support
Activate with -Clfsanitize=address. Only tested on Darwin/x86-64 for now.
2022-07-06 22:26:13 +02:00
Nikolay Nikolov
14dc066d6b + added check whether PPU and program are compiled in the same WebAssembly
exceptions mode (either both are turned on, or both are turned off)
2022-06-21 23:12:28 +03:00
Jonas Maebe
3ef0db2404 LLVM: list supported LLVM/Xcode versions
Use the -i or -il command line parameter
2022-06-04 10:22:19 +02:00
Sven/Sarah Barth
ea8e3cfc37 + add an error message that a nested function variable can not be assigned to a function reference 2022-05-31 22:50:14 +02:00
Nikolay Nikolov
1fce5121f3 + added the 'wasmthreads' target switch (enabled via -CTwasmthreads) 2022-05-28 01:18:55 +03:00
Sven/Sarah Barth
a0171e4335 + add an error message for when a symbol can't be captured 2022-05-26 21:43:41 +02:00
Sven/Sarah Barth
6a9b4a1b13 + apply patch by Blaise.ru: allow initialisation of method pointers with class methods (when class types are
known at compile time)
* adjust error message when a method pointer isn't suitable
+ add tests
2022-05-26 21:42:55 +02:00
Nikolay Nikolov
6ee4ee960e + added "(experimental)" to the compiler help screen for the WebAssembly compiler options that are still unstable/experimental 2022-05-26 18:20:07 +03:00
Nikolay Nikolov
66b471e516 + support different versions of llvm-mc (version 10 seems to be the earliest that works) 2022-05-26 15:06:35 +03:00
Nikolay Nikolov
3994626cb1 * fixed the message in the previous commit 2022-05-26 14:14:46 +03:00
Nikolay Nikolov
0c6287894b * the WebAssembly internal assembler renamed WASM (previously it was OMF, which was the ID of the MS-DOS .obj writer, which I forgot to rename) 2022-05-26 14:12:10 +03:00
Pierre Muller
e0de75224b Add help for -Aomf option for wasm32 CPU and new message for ogwasm binary writer 2022-05-26 00:28:47 +02:00
florian
6556d18bed * better fix for #39634 which avoids breaking existing code 2022-04-22 22:08:46 +02:00
florian
559fcdf736 * forbid cyclic pointer definitions, resolves #39634 2022-04-21 20:03:05 +02:00
Pierre Muller
85c648e603 Check mf_symansistr is compatible with current compiler mode and issue a message before failing PPU loading 2022-04-11 22:10:48 +00:00
florian
4718029fe0 * do not throw an error if syscall is used with a syntax not applicable for the current
target, resolves #39640
2022-03-30 23:07:34 +02:00
Karoly Balogh
e0599bb231 * z80-amstradcpc: fixed target naming mess, so -Tamstradcpc works now, also fixed the help text 2022-03-09 13:36:47 +01:00
Karoly Balogh
cb959c2e6f * z80-amstradcpc: add some initial files for the target (mostly just the clone of ZX Spectrum files for now) 2022-03-06 22:02:27 +01:00
florian
ae89261008 * prevent that a absolute symbol references itself, resolves #39604 2022-03-06 22:01:56 +01:00
florian
546455faca * throw error properly if a target does not support sections 2022-02-22 22:08:53 +01:00
Karoly Balogh
471a5eb4e0 help text: vlink is no longer default on MorphOS for a while now, remove from help text, add Atari and Sinclair QL where it is the default 2022-02-21 11:39:29 +01:00
Thorsten Otto
073b48de82 atari: add -Wt<x> option to allow specifying the executable format
This is useful to create aoutmint format binaries using vlink,
which have a symbol table that has no limit for the name length.
2022-02-02 21:34:32 +00:00
Karoly Balogh
b3cbf07f27 + m68k-atari: fixed bogus TOS program flags passed to VLink. added -WF argument to allow the user to specify their own flags if needed 2022-01-25 23:50:07 +01:00
marcoonthegit
45840da4dd * fixed spelling error implicitEly in errore.msg, regenned msg. 2022-01-22 17:00:24 +01:00
florian
6dd0a1c078 * year of copyright updated to 2022 2022-01-14 22:56:09 +01:00
florian
89f9ebc7b7 * throw an error if raise is called in a noreturn subroutine outside of any exception frame, resolves #39514 2022-01-06 21:13:19 +01:00
ccrause
5944631246 Add help message for xtensa-freertos -WP option 2022-01-05 22:05:19 +00:00
florian
550d0481b3 * better error message 2021-11-11 22:52:21 +01:00
florian
03ce23246f * patch by Don Siders: Fixes spelling, grammar errors in source and compiler messages, resolves #39434 2021-11-10 19:16:14 +01:00
florian
d708bef92f + Aarch64: read register sets with ranges properly
+ tests
2021-11-07 20:02:29 +01:00
florian
dcb1fcd9b8 + support $lgeacyifend directive, resolves #37676 2021-11-01 23:24:42 +01:00
Nikolay Nikolov
344da9597f + added the current WebAssembly exceptions mode to the .ppu module flags and
perform a check to ensure all units are compiled in the same exceptions mode
  as the main program
2021-10-08 23:50:28 +03:00