Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
Fix recording of __concat metamethod. Thanks to Sergey Kaplun. (cherry picked from commit bcc5125a9) `lj_record_ret()` uses `J->L->base` as a base for recording concatenation with remaining operands, even if there is a vararg frame or pcall frame (so it uses the wrong Lua stack slots from a frame above). This leads to the corresponding assertion failure in the `lj_record_mm_lookup()`. This patch adds the calculation of the base adjusment necessary for correct frame usage. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#9595 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org> (cherry picked from commit 4a20956f8)
5659 of 6017 branches covered (94.05%)
Branch coverage included in aggregate %.
5 of 5 new or added lines in 1 file covered. (100.0%)
19 existing lines in 5 files now uncovered.21599 of 23414 relevant lines covered (92.25%)
2832261.98 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
96.08 |
-0.18% | src/lj_opt_mem.c |
2 |
77.71 |
0.31% | src/lj_opt_fold.c |
3 |
97.61 |
-1.44% | src/lj_str.c |
5 |
85.71 |
-2.16% | src/lj_sysprof.c |
8 |
87.27 |
-0.75% | src/lj_crecord.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 8261350938.1 | 89 |
92.62 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
13.79 | src/lj_utils_leb128.c | 132 | 51 | 7 | 44 | 1679943.0 - 179 | 1 | 6 | |
61.83 | src/lj_clib.c | 431 | 101 | 65 | 36 | 2896.0 + 16 | 16 | 14 | |
77.41 | src/lj_api.c | 1368 | 859 | 661 | 198 | 916340.0 + 148 | 182 | 48 | |
77.71 | src/lj_opt_fold.c | 2537 | 977 | 744 + 4 | 233 - 4 | 31649.0 - 140 | 246 | 51 | |
77.92 | src/lj_wbuf.c | 141 | 66 | 49 | 17 | 587668.0 - 43 | 11 | 0 | |
78.75 | src/lib_math.c | 224 | 72 | 56 | 16 | 20821.0 + 13 | 7 | 1 | |
81.3 | src/lj_strscan.c | 540 | 263 | 212 | 51 | 2373987.0 - 43160 | 114 | 24 | |
84.03 | src/lj_ccall.c | 1183 | 172 | 145 | 27 | 22769.0 + 241 | 55 | 11 | |
84.21 | src/lj_load.c | 164 | 81 | 69 | 12 | 30639.0 + 14 | 11 | 3 | |
85.71 | src/lj_sysprof.c | 571 | 195 | 162 - 5 | 33 + 5 | 1283.0 + 38 | 36 | 0 |