diff options
| author | Gregory Mullen <_@gr.ht> | 2023-08-20 12:22:53 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-08-21 11:22:22 -0700 |
| commit | f74e10cd4722512ac671f574b3d274ab48abb1a7 (patch) | |
| tree | a2cf1f798c7f4dc7375efd70d94fc0d82f254838 /src/codegen.zig | |
| parent | 8e96be0088d4ae007589651066d426f815aaab4f (diff) | |
| download | zig-f74e10cd4722512ac671f574b3d274ab48abb1a7.tar.gz zig-f74e10cd4722512ac671f574b3d274ab48abb1a7.zip | |
Update default stack frames for general_purpose_allocator.zig
Created from a conversation with @andrewrk on irc: Memory leaks when using ArrayList can be inconvenient to debug when the stack frame size is 4 because the entirety of the printed frame is within zig stdlib, and not in the users calling stack. Increasing this to 6 for Debug builds, gives 2 frames of user code. I increased the frame size for tests as well by the equivalent factor, but I'm unconvinced that's actually desirable.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
