aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-08 14:55:54 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-08 15:03:03 -0700
commitfb4ad37e0bd07513a0a56afb45e95c68036b1eea (patch)
treea735a6104ec10aae6417b7e11d4b893debb06776 /src/Module.zig
parent874b51d8d4d80f224e979adba11526a5dcec61da (diff)
downloadzig-fb4ad37e0bd07513a0a56afb45e95c68036b1eea.tar.gz
zig-fb4ad37e0bd07513a0a56afb45e95c68036b1eea.zip
LLVM: fix memory leak of debug type names
This required adjusting `Type.nameAlloc` to be used with a general-purpose allocator and added `Type.nameAllocArena` for the arena use case (avoids allocation sometimes).
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions