aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update Android build docs.Mike Pall2021-11-131-1/+2
|
* Merge branch 'master' into v2.1Mike Pall2021-11-131-1/+2
|\
| * Update Android build docs.Mike Pall2021-11-131-1/+2
| |
* | ARM64: Fix pcall() error case.Mike Pall2021-10-271-1/+2
| | | | | | | | Reported by Alex Orlenko.
* | OSX/ARM64: Fix external unwinding.Mike Pall2021-10-172-54/+40
| | | | | | | | Contributed by Edmund Kapusniak. #698 #757
* | Fix string buffer method recording.Mike Pall2021-10-121-0/+1
| | | | | | | | Reported and analyzed by vfprintf. #755
* | Fix interaction of profiler and ITERN recording.Mike Pall2021-10-081-1/+3
| | | | | | | | Reported and analyzed by vfprintf. #754
* | Fix compilation of multi-result call to next().Mike Pall2021-10-061-1/+1
| | | | | | | | Thanks to Vyacheslav Egorov.
* | ARM64: Fix IR_HREF code generation.Mike Pall2021-10-021-3/+3
| |
* | MIPS64: Fix soft-float IR_TOSTR.Mike Pall2021-10-021-1/+1
| |
* | Merge branch 'master' into v2.1Mike Pall2021-10-021-20/+13
|\|
| * MIPS: Fix register allocation in assembly of HREF.Mike Pall2021-10-021-3/+5
| | | | | | | | Reported by Jakub Piotr Cłapa.
* | Fix compiler warning.Mike Pall2021-09-291-2/+2
| | | | | | | | Suggested by Fezile Manana.
* | Merge branch 'master' into v2.1Mike Pall2021-09-241-1/+3
|\|
| * Windows/x64: Document MSVC flags for C++ exception interoperability.Mike Pall2021-09-241-1/+3
| | | | | | | | Suggested by Julien Cugnière.
* | FFI: Ensure returned string is alive in ffi.typeinfo().Mike Pall2021-09-231-0/+1
| | | | | | | | Reported by zhuizhuhaomeng.
* | OSX/ARM64: Disable unwind info.Mike Pall2021-09-211-1/+2
| | | | | | | | See #698.
* | Merge branch 'master' into v2.1Mike Pall2021-09-211-1/+5
|\|
| * Fix stack allocation after on-trace stack check.Mike Pall2021-09-211-1/+5
| |
* | Fix ITERN blacklisting.Mike Pall2021-09-211-4/+8
| | | | | | | | Reported by ExtReMLapin. #744
* | Ensure ITERN forward progress on interpreter bailout.Mike Pall2021-09-211-3/+6
| | | | | | | | Reported by Yichun Zhang and ExtReMLapin. #744
* | ARM64: Reorder interpreter stack frame and fix unwinding.Mike Pall2021-09-202-49/+152
| | | | | | | | | | Reported by Yichun Zhang. Fixes #722. May help towards fixing #698, too.
* | Don't bail out to interpreter to JLOOP originating from ITERN.Mike Pall2021-09-201-3/+5
| | | | | | | | | | Otherwise forward progress is not guaranteed. Reported by Yichun Zhang.
* | FFI: Don't load PC from non-function object in FFI continuation.Mike Pall2021-09-202-2/+2
| | | | | | | | Reported by Yichun Zhang. #743
* | Merge branch 'master' into v2.1Mike Pall2021-09-204-4/+4
|\|
| * FFI: Don't load PC from non-function object in FFI continuation.Mike Pall2021-09-203-3/+3
| | | | | | | | Reported by Yichun Zhang. #743
| * FFI: Fix missing cts->L initialization in argv2ctype().Mike Pall2021-09-201-1/+1
| |
* | OSX/ARM64: Disable external unwinding for now.Mike Pall2021-09-191-1/+4
| | | | | | | | | | | | This reduces functionality, e.g. no handling of on-trace errors. Someone with very deep knowledge about macOS and MACH-O/DWARF stack unwinding internals is needed to fix this. See issue #698.
* | Compile table traversals: next(), pairs(), BC_ISNEXT/BC_ITERN.Mike Pall2021-09-1927-47/+781
| | | | | | | | Sponsored by OpenResty Inc.
* | Use IR_HIOP for generalized two-register returns.Mike Pall2021-09-198-96/+84
| | | | | | | | Sponsored by OpenResty Inc.
* | Refactor table traversal.Mike Pall2021-09-1912-207/+153
| | | | | | | | Sponsored by OpenResty Inc.
* | ARM: Fix symbol display in trace disassembly.Mike Pall2021-09-191-0/+2
| |
* | Refactor IR_TMPREF generation.Mike Pall2021-09-191-17/+16
| |
* | Refactor IR_VLOAD to take an offset.Mike Pall2021-09-199-13/+19
| |
* | MIPS: Fix trace linking.Mike Pall2021-09-196-3/+33
| |
* | String buffers, part 4b: Improve de-serialization checks.Mike Pall2021-08-121-3/+13
| | | | | | | | Sponsored by fmad.io.
* | String buffers, part 4a: Add metatable serialization dictionary.Mike Pall2021-08-126-41/+116
| | | | | | | | Sponsored by fmad.io.
* | Merge branch 'master' into v2.1Mike Pall2021-07-271-3/+32
|\|
| * Consider slots used by upvalues in use-def analysis.Mike Pall2021-07-271-3/+32
| | | | | | | | Reported by XmiliaH.
* | Merge branch 'master' into v2.1Mike Pall2021-07-231-1/+6
|\|
| * Prevent loop in snap_usedef().Mike Pall2021-07-231-1/+6
| | | | | | | | Reported by XmiliaH.
* | Merge branch 'master' into v2.1Mike Pall2021-07-221-2/+8
|\|
| * Fix io.close() error message.Mike Pall2021-07-221-2/+8
| | | | | | | | Reported by François Perrad.
* | Merge branch 'master' into v2.1Mike Pall2021-07-221-9/+11
|\|
| * Fix io.close().Mike Pall2021-07-221-9/+11
| | | | | | | | Reported by farmboy0.
* | Merge branch 'master' into v2.1Mike Pall2021-07-211-1/+1
|\|
| * Fix minilua vararg stack handling.Mike Pall2021-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | Note: this is not exploitable! minilua is only used during the LuaJIT build process. It only runs controlled and static Lua code (DynASM), which is entirely contained within this repo. LuaJIT itself has completely different stack handling code and is not affected either. This change is solely for the benefit of others, who might possibly use minilua for purposes other than running DynASM.
* | PS4: Fix compile.Mike Pall2021-07-191-1/+1
| | | | | | | | Thanks to Eric Lavesson.
* | Merge branch 'master' into v2.1Mike Pall2021-07-191-1/+1
|\|
| * Avoid out-of-range number of results when compiling select(k, ...).Mike Pall2021-07-191-1/+1
| | | | | | | | The interpreter will throw and abort the trace, anyway.