|
Ran
|
Files
89
|
Run time
4s
|
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
5713 of 6046 branches covered (94.49%)
Branch coverage included in aggregate %.
21804 of 23513 relevant lines covered (92.73%)
3875830.41 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|