|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Prevent snapshot purge while recording a function header. Thanks to Sergey Kaplun. (cherry picked from commit d459c6ce5) This patch is a follow-up to the commit 7505e78bd "Handle on-trace OOM errors from helper functions.". Since this commit, the `pcall()` (and `xpcall()`) emits an additional snapshot, but the arguments to the pcall-ed function are momentarily purged from the snapshot since they are not used. Hence, in several cases `debug.getlocal()` can't find the corresponding slot for the previous frame. This patch prevents purging right after `pcall()`, `xpcall()` recording. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#12134 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 262448307)
5710 of 6047 branches covered (94.43%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
26 existing lines in 5 files now uncovered.21794 of 23517 relevant lines covered (92.67%)
3884585.17 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
93.09 |
-0.33% | src/lj_ir.c |
| 1 |
97.28 |
-0.18% | src/lj_trace.c |
| 2 |
92.0 |
-0.44% | src/luajit.c |
| 10 |
77.8 |
-1.01% | src/lj_api.c |
| 12 |
88.34 |
-0.25% | src/lj_crecord.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22936754897.1 | 89 |
93.03 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|