Skip to content

Port the op_str short-circuit and subprocess test52 from #56 - #3

Merged
conrade-ctc merged 1 commit into
ctc-masterfrom
port-56-opstr
Aug 31, 2026
Merged

Port the op_str short-circuit and subprocess test52 from #56#3
conrade-ctc merged 1 commit into
ctc-masterfrom
port-56-opstr

Conversation

@conrade-ctc

Copy link
Copy Markdown
Collaborator
  • The in-process test52 crashed the llvm22 and cling CI lanes with a SIGSEGV, which hid the rest of the suite's results — the current red tracking cells on every run.
  • This matches three files to [fix] Null-guard the cling.printValue lookup in op_str compiler-research/cppjit#56's head: the cling pretty-print path in op_str now compiles out behind CPPJIT_USE_CLING on clang-repl (with the matching CMake compile-definition wiring), and test52 runs its repro in a subprocess, so a regression fails the assertion instead of killing the runner.
  • All three files are byte-identical to [fix] Null-guard the cling.printValue lookup in op_str compiler-research/cppjit#56's head, so the next upstream sync is conflict-free here.
  • Gates: //:test_regression passes on the ctc-master tip (49 passed, 1 skipped, 1 xfailed unrelated); bazelisk build //... builds clean; a strings check on the built libcppjit.so confirms the gated block compiles out.

🤖 Done with the help of Claude Code (Sonnet 5, human in the loop)

The in-process test52 crashed the llvm22 and cling CI lanes with a
SIGSEGV, hiding the rest of the suite. Match
compiler-research#56's head: the cling pretty-print path in
op_str now compiles out entirely behind CPPJIT_USE_CLING on
clang-repl, with the matching CMake compile-definition wiring, and the
regression test runs its repro in a subprocess so a crash fails the
assertion instead of the runner.

Co-developed-with-the-help-of: Claude Code (Sonnet 5, human in the loop)
@github-actions

Copy link
Copy Markdown

Test Results

Configuration Result
macos-26-intel-llvm21-py3.14-cxx20 = 442 passed, 46 skipped, 85 xfailed, 32 xpassed, 100 warnings in 132.99s (0:02:12) =
macos-26-llvm21-py3.14-cxx20 ==== 443 passed, 39 skipped, 93 xfailed, 30 xpassed, 100 warnings in 55.23s ====
ubuntu-24.04-llvm21-py3.14-cxx20-vg ====== 559 passed, 26 skipped, 18 xfailed, 2 xpassed in 103.37s (0:01:43) ======
ubuntu-24.04-llvm22-py3.14-cxx20 ====== 558 passed, 26 skipped, 20 xfailed, 1 xpassed in 90.31s (0:01:30) =======
ubuntu-24.04-llvm22-py3.14-cxx20-cling ====== 549 passed, 26 skipped, 27 xfailed, 3 xpassed in 108.60s (0:01:48) ======
ubuntu-24.04-llvm22-py3.14-cxx23 ====== 579 passed, 4 skipped, 21 xfailed, 1 xpassed in 111.20s (0:01:51) =======

@conrade-ctc
conrade-ctc merged commit c15fdcb into ctc-master Aug 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant