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

tarantool / luajit / 35928506338
88%
tarantool/master: 88%

Build:
Build:
LAST BUILD BRANCH: ligurio/gh-xxxx-drop-CMakeParseArguments
DEFAULT BRANCH: tarantool/master
Ran 23 Sep 2026 10:30PM 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

23 Sep 2026 10:12PM UTC coverage: 88.217% (-5.2%) from 93.43%
35928506338

push

github

elhimov
dbg: avoid hardcoded enums (get them from target)

Besides reducing lines of code this way the extension becomes compatible
with various versions of LuaJIT because different versions might use
different sets of enum members (a newer version might introduce
additional BC/IR/etc.)

Prior to this patch, the string was used as a debugger-agnostic way to
specify type, but this way might not work in the case of an enum because
debugging information might be optimized out if no variable of such an
enum type is declared and its members are used only as predefined
constants. The type of enum is needed to be able to get human-readable
value (member name instead of number). The alternative way to get enum
type is to get it from the value, i.e. somehow obtain the value that is
of enum type and then use this type to convert the numbers to the member
names.

Creating the value of the given enum member is quite different in GDB
and LLDB, so separate method `create_enum_value` was introduced in
Debugger API. Also new method `cast_typeof` was introduced to perform
value-based cast, i.e. it casts to the same type as a reference value.

Also this patch fixes the mapping of FPMATHOP to a human-readable form,
because prior to this patch, IRFPMS contained the incorrect entry
'exp2'. IRFPMS is a human-readable form of enum IRFPMathOp, but there is
no 'exp2' enum member actually (see IRFPMDEF). It looks like it was
added by mistake initially (correspoding tests to check mapping of
FPMATHOP were added).

Other adjustments:
* [gdb] in 'eval' method dropped check of the value returned by
  gdb.parse_and_eval() as it would fail also for expression like '0',
  i.e. affects all the involved enums (looks like a kind of experimental
  code that was left by mistake)
* [lldb] 'eval' adjusted to return object of the same type as 'cast'
  method (this improves consistency)
* [gdb/lldb] renamed eval argument to reflect its meaning (it is
  an expression rather than a command)

Resolves t... (continued)

12757 of 15761 branches covered (80.94%)

Branch coverage included in aggregate %.

21931 of 23560 relevant lines covered (93.09%)

3972095.22 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
71.33
-6.56% src/lj_opt_fold.c
6
81.99
-7.19% src/lj_crecord.c
Jobs
ID Job ID Ran Files Coverage
1 35928506338.1 23 Sep 2026 10:30PM UTC 89
88.22
GitHub Action Run
Source Files on build 35928506338
  • Tree
  • List 89
  • Changed 85
  • Source Changed 0
  • Coverage Changed 85
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35928506338
  • 2ea2e42e on github
  • Prev Build on tarantool/master (#30605562888)
  • Next Build on elhimov/gh-13094-dbg-use-enums-from-inferior (#37390401721)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc