Fix Linux fiber stack overflow with Clang 18 #813

Manually merged
github merged 1 commit from gh-pr/813/head into gh-pr/813/base 2026-11-26 09:33:30 +00:00
Owner

@⁠Nmzik on GitHub · 2026-09-24 21:28 UTC · original
KytyPS5:update-linux-runner → main · +14 −9 · 1 files · 1 commits · merged 2026-09-24 22:08 UTC

No description provided.

**@⁠Nmzik** on GitHub · 2026-09-24 21:28 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/813) `KytyPS5:update-linux-runner` → `main` · +14 −9 · 1 files · 1 commits · merged 2026-09-24 22:08 UTC *No description provided.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:33:28 +00:00
github manually merged commit 227ae5ff9f into gh-pr/813/base 2026-11-26 09:33:30 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-09-24 21:31 UTC · original · edited 2026-09-24 22:04 UTC

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: faf7ee53-d757-40bc-b404-28757e3d1184

📥 Commits

Reviewing files that changed from the base of the PR and between 63f23934f2 and 227ae5ff9f.

📒 Files selected for processing (1)
  • src/libs/libs.h

Included review availability: Your plan provides up to 10 included reviews per hour; 6 remain after this review.


📝 Walkthrough

Walkthrough

PRINT_NAME() now calls Libs::PrintName with the library, module, and function names. The new function logs those names, the thread ID, and formatted elapsed time when the log direction is not silent.

Suggested reviewers: c0sxm0s

Priority: ⬇️ Low

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 227ae

The change routes enabled name logging through a noinline helper while preserving emitted logging behavior. No actionable merge-blocking risk is established.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No pull request description was provided, so the change cannot be evaluated against an author-provided explanation. Add a brief description that explains how moving name logging to Libs::PrintName and applying [[gnu::noinline]] fixes the Linux fiber stack overflow with Clang 18.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the intended fix for the Linux fiber stack overflow under Clang 18. The [[gnu::noinline]] change and stack-frame rationale support this objective.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

**@⁠coderabbitai[bot]** on GitHub · 2026-09-24 21:31 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/813#issuecomment-5822584669) · edited 2026-09-24 22:04 UTC <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/813"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=2" alt="Review in Change Stack →" width="220" height="32"></a> Navigate logical layers of code changes, visualize relationships, and explore their blast radius. <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary>ℹ️ Recent review info</summary> <details> <summary>⚙️ Run configuration</summary> **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml **Review profile**: CHILL **Plan**: Advanced **Run ID**: `faf7ee53-d757-40bc-b404-28757e3d1184` </details> <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between 63f23934f2065f76b8dc63788b3873a5f8eabecf and 227ae5ff9fc8e5333a783bf475fc7a22489175af. </details> <details> <summary>📒 Files selected for processing (1)</summary> * `src/libs/libs.h` </details> **Included review availability:** Your plan provides up to 10 included reviews per hour; 6 remain after this review. </details> --- <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary>📝 Walkthrough</summary> ## Walkthrough `PRINT_NAME()` now calls `Libs::PrintName` with the library, module, and function names. The new function logs those names, the thread ID, and formatted elapsed time when the log direction is not silent. **Suggested reviewers:** `c0sxm0s` </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ⬇️ Low <!-- change_assessment_commit:"227ae5ff9fc8e5333a783bf475fc7a22489175af" --> **Change:** Bug fix <!-- change_assessment_end --> <!-- final_review_risk_start --> **Merge Risk:** _⚪ Minimal_ · up to `227ae` <!-- final_review_risk_coverage:{"sourceCommitId":"227ae5ff9fc8e5333a783bf475fc7a22489175af","coveredCommitId":"227ae5ff9fc8e5333a783bf475fc7a22489175af","kind":"reviewed"} --> The change routes enabled name logging through a noinline helper while preserving emitted logging behavior. No actionable merge-blocking risk is established. <!-- final_review_risk_end --> <!-- pre_merge_checks_walkthrough_start --> <details> <summary>🚥 Pre-merge checks | ✅ 3 | ❌ 2</summary> ### ❌ Failed checks (1 warning, 1 inconclusive) | Check name | Status | Explanation | Resolution | | :----------------: | :------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Docstring Coverage | ⚠️ Warning | Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 2 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. | | Description check | ❓ Inconclusive | No pull request description was provided, so the change cannot be evaluated against an author-provided explanation. | Add a brief description that explains how moving name logging to `Libs::PrintName` and applying `[[gnu::noinline]]` fixes the Linux fiber stack overflow with Clang 18. | <details> <summary>✅ Passed checks (3 passed)</summary> | Check name | Status | Explanation | | :------------------------: | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ✅ Passed | The title clearly states the intended fix for the Linux fiber stack overflow under Clang 18. The `[[gnu::noinline]]` change and stack-frame rationale support this objective. | | Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. | </details> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- tips_start --> --- <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
This discussion has been locked. Commenting is limited to contributors.
No description provided.