Commit Graph

2653 Commits

Author SHA1 Message Date
Mike Pall
76fbf0397c Merge branch 'master' into v2.1 2021-07-19 16:07:23 +02:00
Mike Pall
44bd7437a2 Fix jit.dump() output for IR_CONV. 2021-07-19 16:05:05 +02:00
Mike Pall
e957737650 Disable unreliable assertion for external frame unwinding.
Broken on Fedora/ARM64. Reported by Yichun Zhang.
2021-06-25 12:53:23 +02:00
Mike Pall
95140c5001 Flush and close output file after profiling run.
Thanks to Sergey Ostanevich.
2021-06-25 12:48:42 +02:00
Mike Pall
16d38a4b21 Avoid conflict between 64 bit lightuserdata and ITERN key.
Reported by XmiliaH.
2021-06-25 12:45:51 +02:00
Mike Pall
3f9389edc6 Throw any errors before stack changes in trace stitching.
Thanks to doujiang24.
2021-06-14 14:56:54 +02:00
Mike Pall
c1c4c5599c Merge branch 'master' into v2.1 2021-06-08 22:35:23 +02:00
Mike Pall
98f95f6918 DynASM/x86: Add missing escape in pattern. 2021-06-08 22:34:22 +02:00
Mike Pall
3fbf51bb99 Merge branch 'master' into v2.1 2021-06-07 12:06:02 +02:00
Mike Pall
ec5f6a5618 Fix HTML. 2021-06-07 12:05:34 +02:00
Mike Pall
ac02a120ef String buffers, part 2e: add serialization string dictionary.
Sponsored by fmad.io.
2021-06-07 12:03:22 +02:00
Mike Pall
4216bdfb2a DynASM/ARM64: Fix LSL/BFI* encoding with variable shifts.
Thanks to Dmitry Stogov.
2021-06-04 13:51:56 +02:00
Mike Pall
52449e2a1e Fix MinGW static build.
Reported by Sundaram Ramaswamy.
2021-06-03 20:28:48 +02:00
Mike Pall
7d267973e2 Fix dependencies. 2021-06-03 10:07:00 +02:00
Mike Pall
65ff33a4af Fix IR_BUFHDR assembly. 2021-06-03 10:05:20 +02:00
Mike Pall
1b7171c339 FFI: Support FFI numbers in string.format() and buf:putf(). 2021-06-03 03:22:58 +02:00
Mike Pall
69138082a3 ARM64: More improvements to the generation of immediates. 2021-06-03 03:21:56 +02:00
Mike Pall
a119497bec String buffers, part 2d: basic string buffer methods.
Sponsored by fmad.io.
2021-06-01 05:16:32 +02:00
Mike Pall
edd5cbadc5 String buffers, part 2c: abstract out string.format.
Sponsored by fmad.io.
2021-06-01 05:14:18 +02:00
Mike Pall
50d6883e60 Abstract out on-demand loading of FFI library. 2021-06-01 01:01:15 +02:00
Mike Pall
61990cef05 String buffers, part 2b: Add extended string buffers. Use in serializer.
Sponsored by fmad.io.
2021-06-01 00:55:51 +02:00
Mike Pall
394fb6267a String buffers, part 2a: internal SBuf reorg. Use full pointers.
Sponsored by fmad.io.
2021-06-01 00:45:06 +02:00
Mike Pall
b5dafe5891 Merge branch 'master' into v2.1 2021-06-01 00:28:00 +02:00
Mike Pall
ae533e3a6c FFI: Fix dangling reference to CType. 2021-06-01 00:26:45 +02:00
Mike Pall
839fb5bd72 Merge branch 'master' into v2.1 2021-05-29 15:38:37 +02:00
Mike Pall
c2cfa04231 PPC/PS3: Fix BC_ADD*/BC_SUB*.
Thanks to MaryWan1982.
2021-05-29 15:33:08 +02:00
Mike Pall
e0cd3a8671 Merge branch 'master' into v2.1 2021-05-29 15:32:04 +02:00
Mike Pall
0e53a314d7 Fix use-def analysis for vararg functions.
Reported by Shmuel Zeigerman.
2021-05-29 15:31:13 +02:00
Mike Pall
fca488c715 Merge branch 'master' into v2.1 2021-05-24 22:28:58 +02:00
Mike Pall
2801500a26 Fix use-def analysis for BC_VARG.
Reported by Ryan Lucia.
2021-05-24 22:25:26 +02:00
Mike Pall
5783ba1bf7 DynASM/ARM64: Fix ADRP encoding with absolute address.
Thanks to Dmitry Stogov.
2021-05-22 13:31:48 +02:00
Mike Pall
aa7ac66068 Merge branch 'master' into v2.1 2021-05-17 19:42:59 +02:00
Mike Pall
44684fa71d Fix compiler warnings. 2021-05-17 19:42:06 +02:00
Mike Pall
8dc3cd6c84 DynASM: Bump version to 1.5.0. 2021-05-02 22:29:01 +02:00
Mike Pall
0f8a340c8c DynASM/ARM64: Add .long expr. Add .quad/.addr expr + refs.
Suggested by Dmitry Stogov, Hao Sun and Nick Gasson.
2021-05-02 22:25:56 +02:00
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