|
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)
5707 of 6047 branches covered (94.38%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
5 existing lines in 3 files now uncovered.21788 of 23517 relevant lines covered (92.65%)
3884649.52 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
94.74 |
-0.96% | src/lj_str.c |
| 2 |
88.34 |
0.41% | src/lj_crecord.c |
| 2 |
93.09 |
-0.66% | src/lj_ir.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22936754791.1 | 89 |
93.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|