|
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)
5711 of 6047 branches covered (94.44%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
2 existing lines in 1 file now uncovered.21811 of 23517 relevant lines covered (92.75%)
4147826.87 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
88.59 |
0.66% | src/lj_crecord.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 22936754918.1 | 89 |
93.09 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|