|
Ran
|
Jobs
1
|
Files
89
|
Run time
1min
|
Badge
README BADGES
|
push
github
FFI/MacOS: Fix calling convention for on-stack varargs. Thanks to Sergey Kaplun. (cherry picked from commit a2bde6081) This commit fixes the regression introduced by the commit 82ca68442 ("FFI/MacOS: Fix calling convention for enums."). The `isva` flag is set to 0 even for vararg functions. Thus, arguments on the stack may be aligned incorrectly, leading to the crash. This patch fixes the behaviour by adjusting the flag value instead of resetting it. In addition to the original test, various tests have been added to cover the behaviour of the vararg FFI calls. Sergey Kaplun: * added the description and the test for the problem Part of tarantool/tarantool#12480 Reviewed-by: Evgeniy Temirgaleev <e.temirgaleev@tarantool.org> Reviewed-by: Sergey Bronnikov <sergeyb@tarantool.org> Signed-off-by: Sergey Kaplun <skaplun@tarantool.org>
5730 of 6058 branches covered (94.59%)
Branch coverage included in aggregate %.
21855 of 23556 relevant lines covered (92.78%)
3972207.58 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 10 |
77.88 |
-1.01% | src/lj_api.c |
| 6 |
77.03 |
-0.55% | src/lj_opt_fold.c |
| 6 |
94.74 |
-4.31% | src/lj_str.c |
| 5 |
88.77 |
-0.41% | src/lj_crecord.c |
| 2 |
92.0 |
-0.44% | src/luajit.c |
| 1 |
96.66 |
-0.05% | src/lj_record.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 28574258036.1 | 89 |
93.15 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|