zig/lib/std/heap
Andrew Kelley cd6cdd0a75 std.mem.Allocator: add return_address to the interface
The high level Allocator interface API functions will now do a
`@returnAddress()` so that stack traces captured by allocator
implementations have a return address that does not include the
Allocator overhead functions. This makes `4` a more reasonable default
for how many stack frames to capture.
2020-08-08 00:34:13 -07:00
..
arena_allocator.zig std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00
general_purpose_allocator.zig std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00
logging_allocator.zig std.mem.Allocator: add return_address to the interface 2020-08-08 00:34:13 -07:00