diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-06-02 00:33:28 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-10 20:47:59 -0700 |
| commit | f1c900c72e0d941fb2ab87197485c710fc95450b (patch) | |
| tree | 60c39eb03de5d0a54a5a33c871169678a2ba940c /src/codegen/llvm.zig | |
| parent | 69b7b910929e84248671377e1743477757e66837 (diff) | |
| download | zig-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
