aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-06-02 00:33:28 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:59 -0700
commitf1c900c72e0d941fb2ab87197485c710fc95450b (patch)
tree60c39eb03de5d0a54a5a33c871169678a2ba940c /src/codegen/llvm.zig
parent69b7b910929e84248671377e1743477757e66837 (diff)
downloadzig-f1c900c72e0d941fb2ab87197485c710fc95450b.tar.gz
zig-f1c900c72e0d941fb2ab87197485c710fc95450b.zip
compiler: avoid use of undefined memory
InternPool is nice in some ways but it also comes with its own set of footguns. This commit fixes 5 instances. I see quite a few Valgrind warnings remaining when running the behavior tests. Perhaps the solution is to have stringToSlice return a struct with start and length as indexes, which has a format function?
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions