aboutsummaryrefslogtreecommitdiff
path: root/src/lj_ccallback.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-21Prevent compile of __concat with tailcall to fast function.Mike Pall1-0/+3
E.g. __concat = function() return setmetatable(...) end Reported by Fezile Manana.
2021-04-20Fix IR_RENAME snapshot number. Follow-up fix for a32aeadc.Mike Pall1-1/+8
Reported by Victor Bombi, analyzed by XmiliaH. Thanks!
2021-04-19Fix compiler warning.Mike Pall1-0/+2
2021-03-31DynASM: Fix global label referencesMike Pall4-8/+20
ARM64 patch contributed by Hao Sun and Nick Gasson.
2021-03-31DynASM/ARM64: Add VREG support.Mike Pall2-18/+41
Contributed by Hao Sun and Nick Gasson.
2021-03-31Fix build with busybox grep.Mike Pall1-1/+1
Reported by ymph.
2021-03-29NetBSD: Use PROT_MPROTECT() and disable getentropy().Mike Pall3-4/+14
Note: this is not an officially supported target. Contributed by David Carlier.
2021-03-26Allow disabling the serializer.Mike Pall1-0/+3
2021-03-26BSD: Fix build with BSD grep.Mike Pall1-1/+1
Thanks to carlocab.
2021-03-26Fix .bat file builds.Mike Pall5-5/+5
2021-03-25OSX: Fix build by hardcoding external frame unwinding.Mike Pall1-7/+8
Apparently they can't even get 'grep' right, let alone a keyboard.
2021-03-25String buffers, part 1: object serialization.Mike Pall26-18/+797
Sponsored by fmad.io.
2021-03-25Reorganize lightuserdata interning code.Mike Pall3-28/+32
2021-03-25Upgrade docs to HTML5. It's about time.Mike Pall14-28/+28
2021-03-23FFI: Handle zero-fill of struct-of-NYI.Mike Pall1-1/+19
2021-03-23ARM64: Improve generation of immediates.Mike Pall1-31/+33
2021-03-23Detect inconsistent renames even in the presence of sunk values.Mike Pall1-13/+12
Reported by Igor Munkin.
2021-03-23Handle on-trace OOM errors from helper functions.Mike Pall24-51/+421
2021-03-23Use weak guards for on-trace allocations.Mike Pall4-49/+51
2021-03-23PPC: Fix GG_State loads.Mike Pall2-2/+2
2021-03-23MIPS: Fix handling of long-range spare jumps.Mike Pall2-25/+34
2021-03-23Cleanup and enable external unwinding for more platforms.Mike Pall4-190/+197
2021-03-11Remove specific version numbers from the docs.Mike Pall2-8/+12
2021-03-10iOS: Don't use getentropy() since it's disallowed in the App Store.Mike Pall1-3/+9
Reported by MoNTE48.
2021-03-10Linux/ARM64: Make mremap() non-moving due to VA space woes.Mike Pall1-1/+1
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-01-12Clarify macOS build instructions.Mike Pall1-2/+5
2021-01-02Bump copyright date.Mike Pall176-193/+193
2021-01-02Fix trace exit register dump for some archs.Mike Pall1-2/+5
2021-01-02Documentation cleanup.Mike Pall4-62/+49
2020-12-28FFI: Fix recording of union initialization.Mike Pall1-0/+5
Thanks to Alex Shpilkin.
2020-12-04x64: Fix __call metamethod return dispatch.Mike Pall1-0/+4
Reported by Igor Munkin.
2020-11-30Fix binary number literal parsing.Mike Pall1-0/+1
Reported by Egor Skriptunoff.
2020-11-30Fix warning.Mike Pall1-1/+1
2020-11-30Fix warning.Mike Pall1-2/+1
2020-10-12Minor changes and https-ify links.Mike Pall18-47/+47
2020-10-12Fix snapshot PC when linking to BC_JLOOP that was a BC_RET*.Mike Pall2-4/+8
Reported by Arseny Vakhrushev. Fix contributed by Peter Cawley.
2020-10-12Ensure full init of IR_NOP instructions.Mike Pall4-25/+15
2020-09-30Add support for full-range 64 bit lightuserdata.Mike Pall17-67/+121
2020-09-28ARM64: Followup fix for exit branch patching.Mike Pall1-1/+1
2020-09-27Prevent patching of the GC exit check branch.Mike Pall4-7/+31
Reported by Arseny Vakhrushev.
2020-09-25x64: Fix 64 bit shift code generation.Mike Pall1-1/+1
Reported by Philipp Kutin. Fix contributed by Peter Cawley.
2020-09-22Another fix for lua_yield() from C hook.Mike Pall4-4/+4
Reported by Jason Carr.
2020-09-22Mark CONV as non-weak, to prevent elimination of its side-effect.Mike Pall1-1/+1
An unused guarded CONV int.num cannot be omitted in general.
2020-09-15Fix lua_yield() from C hook.Mike Pall1-2/+3
Reported by Jason Carr.
2020-09-12DynASM/x86: Fix VREG support.Mike Pall1-4/+7
2020-09-05Limit path length passed to C library loader.Mike Pall1-1/+6
2020-08-27LJ_GC64: Always snapshot functions for non-base frames.Mike Pall2-2/+8
Reported by Arseny Vakhrushev. Analysis and fix contributed by Peter Cawley.
2020-08-09Call error function on rethrow after trace exit.Mike Pall9-15/+11
2020-08-09Fix handling of errors during snapshot restore.Mike Pall1-0/+2
2020-08-05ARM: Ensure relative GG_State element alignment differently.Mike Pall2-5/+9
Thanks to jojo59516 and dwing4g.