Files
Odin/core
Feoramund f627b55cf5 mem: Fix several issues in Scratch_Allocator
1. The size was being adjusted for the alignment which does not make any
   sense without the context of the base pointer. Now we just add the
   `alignment - 1` to the size if needed then adjust the pointer.

2. The root pointer of the last allocation is now stored in order to
   make the free operation more useful (and to cover the right memory
   region for ASan).

3. Resizing now only works on the last allocation instead of any address
   in a valid range, which resulted in overwriting allocations that had
   just been made.

4. `old_memory` is now re-poisoned entirely before the resized range is
   returned with the new range unpoisoned. This will guarantee that
   there are no unpoisoned gaps.

Fixes #2694
2025-06-14 12:35:16 -04:00
..
2025-05-04 15:48:26 +10:00
2025-06-09 15:09:04 +02:00
2025-05-08 13:23:22 +01:00
2024-02-08 15:15:16 +00:00
2025-06-06 10:42:34 +02:00
2025-05-26 14:48:45 -04:00
2025-06-12 17:09:33 +02:00
2025-06-08 17:03:43 -07:00