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

tarantool / luajit / 7847501879
93%
tarantool/master: 93%

Build:
Build:
LAST BUILD BRANCH: ligurio/gh-12215-profilers-flags
DEFAULT BRANCH: tarantool/master
Ran 09 Feb 2024 05:30PM UTC
Jobs 1
Files 89
Run time 14s
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

09 Feb 2024 05:15PM UTC coverage: 88.959% (+0.6%) from 88.321%
7847501879

push

github

igormunkin
Fix C file generation in jit.bcsave.

Thanks to codicodi.

(cherry picked from commit 62903bacf)

LuaJIT allows exporting bytecode to a C file using the option `-b`, see
[1]. For building a generated C file in C++ projects, C file uses a
macro `__cplusplus` [2], but this macro was broken by the commit
a9dd47b7f ("Extend -b to generate
c/h/obj/o files with embedded bytecode."). With this breakage, C/C++
compiler removes the definition of an array with the bytecode, and the
resulted object file misses a symbol with the bytecode.

The patch fixes the broken macro.

Note, test test/lua-Harness-tests/411-luajit.t checks the presence of
the macro `__cplusplus` in the generated C file, however, it doesn't
catch the bug.

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

Part of tarantool/tarantool#9145

1. https://luajit.org/running.html
2. https://en.cppreference.com/w/cpp/preprocessor/replace

5411 of 6002 branches covered (0.0%)

Branch coverage included in aggregate %.

20727 of 23380 relevant lines covered (88.65%)

2807450.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7847501879.1 09 Feb 2024 05:30PM UTC 0
88.96
GitHub Action Run
Source Files on build 7847501879
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7847501879
  • daba2dac on github
  • Prev Build on ligurio/code-generation-jit.bcsave (#6876742170)
  • Next Build on ligurio/code-generation-jit.bcsave (#8092448272)
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

© 2026 Coveralls, Inc