Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Add missing coercion when recording select(string, ...) Thanks to Peter Cawley. (cherry picked from commit 92b89d005) Before the patch, the recording of `select()` with a string argument leads to the following IR: | rcx > int CONV "1" int.num index Where the operand has string type instead of number type. This leads to the corresponding mcode: | cvttsd2si ecx, xmm1 Where xmm1 has an undefined value. Thus leads to the undefined behaviour for the recording trace. This patch adds the missing coercion. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#10199 Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
5686 of 6028 branches covered (94.33%)
Branch coverage included in aggregate %.
3 of 3 new or added lines in 1 file covered. (100.0%)
36 existing lines in 8 files now uncovered.21667 of 23433 relevant lines covered (92.46%)
2944223.18 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
97.4 |
-0.19% | src/lj_trace.c |
2 |
77.94 |
-0.16% | src/lj_opt_fold.c |
2 |
91.98 |
-0.45% | src/luajit.c |
3 |
93.09 |
-1.32% | src/lj_ir.c |
3 |
97.61 |
-1.44% | src/lj_str.c |
7 |
95.79 |
-0.42% | src/lj_record.c |
8 |
86.99 |
-0.75% | src/lj_crecord.c |
10 |
77.8 |
-1.01% | src/lj_api.c |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 11367128890.1 | 89 |
92.84 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|