Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 418
    • Issues 418
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Merge requests
  • !615

Create debug version of the runtime

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Quinten Cabo requested to merge debug-version-of-runtime into develop Feb 16, 2026
  • Overview 1
  • Commits 6
  • Changes 10

With this mr we propagate the value of CMAKE_BUILD_TYPE to the runtime by making DBUG_ON and DBUG_OFF macros available. We can then use these macros to remove debug code from the runtime in the release versions.

This mr also changed that the Stack struct in stack.c is now a static global instead of being a stack variable inside of the stackGet function. To accomplish that I changed how the Stack struct is initialised. This now happens from rterror when TheControllFlow is created. I added a new file for the initialisation function of TheControllFlow. If we ever have more runtime structures that need to be initialised we can also put them here.

Edited Feb 21, 2026 by Quinten Cabo
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: debug-version-of-runtime