aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-04-15 20:15:19 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-04-16 03:17:15 -0400
commitcaefaf781e22a7b053426621719a6f1d0f69d7cb (patch)
treed77cc3e0e7841a83d6dbfa438a6f256396ff7c39 /src/ir.cpp
parent88724217dd1e1fe4b20fed27c8a662b66df55088 (diff)
downloadzig-caefaf781e22a7b053426621719a6f1d0f69d7cb.tar.gz
zig-caefaf781e22a7b053426621719a6f1d0f69d7cb.zip
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.
Diffstat (limited to 'src/ir.cpp')
0 files changed, 0 insertions, 0 deletions