zig/std/debug
Andrew Kelley caefaf781e std.debug: dumpStackTrace & friends use DirectAllocator
this has the downside of failing to print a stack trace
when the system is out of memory (maybe we could add a
FallbackAllocator which tries DirectAllocator and falls
back on the 200KB preallocated buffer).

but for the more common use case when the system is not
out of memory, but the debug info cannot fit in
std.debug.global_allocator, now stack traces will work.

this is the case for the self hosted compiler.
2018-04-16 03:17:15 -04:00
..
failing_allocator.zig *WIP* error sets converting std lib 2018-01-31 22:48:40 -05:00
index.zig std.debug: dumpStackTrace & friends use DirectAllocator 2018-04-16 03:17:15 -04:00