upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/cpp_unwind_test.cpp
diff options
context:
space:
mode:
authorRomain PINSOLLE <romain.pins@gmail.com>2026-11-24 16:11:47 +0100
committerRomain PINSOLLE <romain.pins@gmail.com>2026-11-24 16:11:47 +0100
commit49e6392c9e6ee45cfce8ef7b690aaa7fc223ce0d (patch)
tree86b40f1c994bad4189b6d31621833d240ddf16df /runtime/test/cpp_unwind_test.cpp
parenta28927849adb4e40dfdec8c32fb6758dcd205a37 (diff)
arena_size: parse LEONIDA_ARENA_MB as signed so negatives hit the floor (ARENA-NEGATIVE-MB)
strtoull("-5") wraps to 2^64-5, so decide_arena_size clamped it to the 4095 MiB maximum. strtoll clamps "-5" and "-99999999999999999999" to the 16 MiB floor, as the header comment documents. Adds checks for "-5", the huge negative and the huge positive to arena_size_test. Other inputs keep their results.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions