Mike Pall
1449663ecf
DynASM/x86: Fix x64 .aword refs. Add .qword, .quad, .addr and .long.
...
Suggested by Dmitry Stogov.
2021-05-02 22:25:16 +02:00
Mike Pall
521b367567
FFI/ARM64/OSX: Fix vararg call handling.
...
Thanks to Igor Munkin.
2021-05-02 22:11:05 +02:00
Mike Pall
fcdb246506
Merge branch 'master' into v2.1
2021-04-25 17:45:40 +02:00
Mike Pall
431e81cdff
Add FAQ about table iteration order.
2021-04-25 17:44:03 +02:00
Mike Pall
75ee3a6159
Prevent compile of __concat with tailcall to fast function.
...
E.g. __concat = function() return setmetatable(...) end
Reported by Fezile Manana.
2021-04-21 15:23:15 +02:00
Mike Pall
de77205490
Fix IR_RENAME snapshot number. Follow-up fix for a32aeadc
.
...
Reported by Victor Bombi, analyzed by XmiliaH. Thanks!
2021-04-20 17:59:47 +02:00
Mike Pall
5374a0a3cf
Fix compiler warning.
2021-04-19 13:54:41 +02:00
Mike Pall
20f556e531
DynASM: Fix global label references
...
ARM64 patch contributed by Hao Sun and Nick Gasson.
2021-03-31 18:36:44 +02:00
Mike Pall
d1132afb25
DynASM/ARM64: Add VREG support.
...
Contributed by Hao Sun and Nick Gasson.
2021-03-31 18:11:32 +02:00
Mike Pall
66563bdab0
Fix build with busybox grep.
...
Reported by ymph.
2021-03-31 17:06:27 +02:00
Mike Pall
3217240b47
NetBSD: Use PROT_MPROTECT() and disable getentropy().
...
Note: this is not an officially supported target.
Contributed by David Carlier.
2021-03-29 10:41:52 +02:00
Mike Pall
9442226825
Allow disabling the serializer.
2021-03-26 19:43:02 +01:00
Mike Pall
b9d523965b
BSD: Fix build with BSD grep.
...
Thanks to carlocab.
2021-03-26 18:31:42 +01:00
Mike Pall
668b1896b3
Fix .bat file builds.
2021-03-26 18:14:59 +01:00
Mike Pall
d4a554d6ee
OSX: Fix build by hardcoding external frame unwinding.
...
Apparently they can't even get 'grep' right, let alone a keyboard.
2021-03-25 19:16:56 +01:00
Mike Pall
4c6b669c41
String buffers, part 1: object serialization.
...
Sponsored by fmad.io.
2021-03-25 02:21:31 +01:00
Mike Pall
836fb5bbd3
Reorganize lightuserdata interning code.
2021-03-25 02:15:26 +01:00
Mike Pall
da20ea45c4
Upgrade docs to HTML5. It's about time.
2021-03-25 02:09:15 +01:00
Mike Pall
ad65934fa0
FFI: Handle zero-fill of struct-of-NYI.
2021-03-23 02:35:07 +01:00
Mike Pall
ebc4919aff
ARM64: Improve generation of immediates.
2021-03-23 02:08:44 +01:00
Mike Pall
a4c9fc3d6c
Merge branch 'master' into v2.1
2021-03-23 00:48:27 +01:00
Mike Pall
33e3f4badf
Detect inconsistent renames even in the presence of sunk values.
...
Reported by Igor Munkin.
2021-03-23 00:43:07 +01:00
Mike Pall
a32aeadc68
Handle on-trace OOM errors from helper functions.
2021-03-23 00:39:50 +01:00
Mike Pall
ddd0fd8f37
Use weak guards for on-trace allocations.
2021-03-23 00:33:34 +01:00
Mike Pall
de89c602c2
PPC: Fix GG_State loads.
2021-03-23 00:28:03 +01:00
Mike Pall
dbb7863016
MIPS: Fix handling of long-range spare jumps.
2021-03-23 00:26:08 +01:00
Mike Pall
e131936133
Cleanup and enable external unwinding for more platforms.
2021-03-23 00:22:34 +01:00
Mike Pall
ce9faf2e0d
Merge branch 'master' into v2.1
2021-03-11 15:33:44 +01:00
Mike Pall
5ccfe94f4e
Remove specific version numbers from the docs.
2021-03-11 15:32:28 +01:00
Mike Pall
787736990a
iOS: Don't use getentropy() since it's disallowed in the App Store.
...
Reported by MoNTE48.
2021-03-10 20:19:04 +01:00
Mike Pall
67dbec82f4
Linux/ARM64: Make mremap() non-moving due to VA space woes.
...
This reduces overall performance on ARM64, but we have no choice.
Linux kernel default userspace VA is 48 bit, but we'd need 47 bit.
mremap() ignores address hints due to a kernel API issue. The mapping
may move to an undesired address which will cause an assert or crash.
Reported by Raymond W. Ko.
2021-03-10 19:58:31 +01:00
Mike Pall
ec6edc5c39
Merge branch 'master' into v2.1
2021-01-12 13:00:48 +01:00
Mike Pall
9b000309cc
Clarify macOS build instructions.
2021-01-12 12:59:54 +01:00
Mike Pall
1e66d0f9e6
Merge branch 'master' into v2.1
2021-01-02 21:56:07 +01:00
Mike Pall
f47c864b01
Bump copyright date.
2021-01-02 21:49:41 +01:00
Mike Pall
3134359734
Fix trace exit register dump for some archs.
2021-01-02 21:37:51 +01:00
Mike Pall
ebc3503813
Merge branch 'master' into v2.1
2021-01-02 21:32:09 +01:00
Mike Pall
ee855749a1
Documentation cleanup.
2021-01-02 21:17:01 +01:00
Mike Pall
65378759f3
Merge branch 'master' into v2.1
2020-12-28 12:40:20 +01:00
Mike Pall
56c04accf9
FFI: Fix recording of union initialization.
...
Thanks to Alex Shpilkin.
2020-12-28 12:37:36 +01:00
Mike Pall
351bb43a07
Merge branch 'master' into v2.1
2020-12-04 11:17:45 +01:00
Mike Pall
d67ff15a5c
x64: Fix __call metamethod return dispatch.
...
Reported by Igor Munkin.
2020-12-04 11:16:55 +01:00
Mike Pall
377a8488b6
Fix binary number literal parsing.
...
Reported by Egor Skriptunoff.
2020-11-30 15:48:34 +01:00
Mike Pall
a50262c490
Fix warning.
2020-11-30 15:47:14 +01:00
Mike Pall
652f71bb1d
Merge branch 'master' into v2.1
2020-11-30 15:46:56 +01:00
Mike Pall
7aa3e313a3
Fix warning.
2020-11-30 15:46:07 +01:00
Mike Pall
1d8b747c16
Merge branch 'master' into v2.1
2020-10-12 16:18:02 +02:00
Mike Pall
050466552b
Minor changes and https-ify links.
2020-10-12 16:11:32 +02:00
Mike Pall
675e08cf06
Merge branch 'master' into v2.1
2020-10-12 15:51:31 +02:00
Mike Pall
5c46f47736
Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.
...
Reported by Arseny Vakhrushev.
Fix contributed by Peter Cawley.
2020-10-12 15:45:05 +02:00