Skip to content
Snippets Groups Projects

Add global vars

Merged Michael Sammler requested to merge msammler/global_vars into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Ralf Jung
    • Resolved by Ralf Jung

      So, what's unusual about this is that one can already tell from the pointer whether it points to a global or dynamic allocation. Usually I would expect this information to be encoded in the allocation, and there'd be a gmap string block that says, for each global variable, in which block it is stored.

      But this approach works equally well I think, since the program cannot inspect the structure of the pointer anyway... so, yeah, I'd say go for it!

  • Ralf Jung
  • Michael Sammler added 3 commits

    added 3 commits

    Compare with previous version

  • Michael Sammler added 4 commits

    added 4 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Ralf Jung resolved all threads

    resolved all threads

  • Ralf Jung
  • Ralf Jung
  • Michael Sammler marked this merge request as ready

    marked this merge request as ready

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Ralf Jung
  • Ralf Jung
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading