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

tarantool / luajit / 6940311982
89%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: skaplun/luajit-performance-tests
DEFAULT BRANCH: tarantool/master
Ran 21 Nov 2023 06:55AM UTC
Jobs 1
Files 89
Run time 8s
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

21 Nov 2023 06:44AM UTC coverage: 88.361% (-0.04%) from 88.405%
6940311982

push

github

igormunkin
Fix ABC FOLD rule with constants.

Reported by XmiliaH.

(cherry-picked from commit c8bcf1e5f)

`fold_abc_k()` doesn't patch the first ABC check when the right constant
operand is negative. This leads to out-of-bounds access from the array
on a trace. This patch casts the operands to uint32_t for comparison. If
the right IR contains a negative integer, the second IR will always be
patched. Also, because the ABC check on the trace is unordered, this
guard will always fail.

Also, this fold rule creates new instructions that reference operands
across PHIs. This opens the room for other optimizations (like DCE), so
some guards become eliminated, and we use out-of-bounds access from the
array part of the table on trace. This patch adds the missing
`PHIBARRIER()` check.

Sergey Kaplun:
* added the description and the test for the problem

Part of tarantool/tarantool#9145

Reviewed-by: Maxim Kokryashkin <m.kokryashkin@tarantool.org>
Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org>
Signed-off-by: Igor Munkin <imun@tarantool.org>
(cherry picked from commit 4018d3a8f)

5345 of 5967 branches covered (0.0%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

14 existing lines in 4 files now uncovered.

20482 of 23262 relevant lines covered (88.05%)

699680.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.11
-2.63% src/lj_vmmath.c
2
96.08
-0.16% src/lj_record.c
4
94.74
-2.87% src/lj_str.c
7
88.1
-1.01% src/lj_ffrecord.c
Jobs
ID Job ID Ran Files Coverage
1 6940311982.1 21 Nov 2023 06:55AM UTC 89
88.36
GitHub Action Run
Source Files on build 6940311982
  • Tree
  • List 89
  • Changed 84
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6940311982
  • f3eff48e on github
  • Prev Build on tarantool/release/2.10 (#6936072995)
  • Next Build on tarantool/release/2.10 (#6940883801)
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