• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / luajit / 11367128890
93%

Build:
DEFAULT BRANCH: tarantool/master
Ran 16 Oct 2024 01:55PM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2024 12:27PM UTC coverage: 92.845% (-0.1%) from 92.98%
11367128890

push

github

Buristan
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

Uncovered Existing Lines

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
Jobs
ID Job ID Ran Files Coverage
1 11367128890.1 16 Oct 2024 01:55PM UTC 89
92.84
GitHub Action Run
Source Files on build 11367128890
  • Tree
  • List 89
  • Changed 86
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #11367128890
  • 088e2e16 on github
  • Prev Build on tarantool/master (#11364877075)
  • Next Build on tarantool/master (#11368712946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc