diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-06-23 13:36:32 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-23 14:53:17 -0700 |
| commit | 9d66481e3df35b54275373a685e765a4bcebd712 (patch) | |
| tree | 7265504b2f0cddd12ea07eb68d5b6e8c3d12778a /src/codegen/spirv | |
| parent | 8dcb4a3dc44fcc90b43543b9a0603456eeb4c348 (diff) | |
| download | zig-9d66481e3df35b54275373a685e765a4bcebd712.tar.gz zig-9d66481e3df35b54275373a685e765a4bcebd712.zip | |
llvm: fixup elem_count argument of ZigLLVMCreateDebugArrayType to be i64
The signature is `getOrCreateSubrange(int64_t Lo, int64_t Count)`, so this updates the bindings to match.
This fixes a crash in `lowerDebugTypeImpl` when analyzing slices that have a length of 2^32 or
larger (up to `2^64 >> 3`, which still crashes, because above that the array size in bits overflows u64).
Diffstat (limited to 'src/codegen/spirv')
0 files changed, 0 insertions, 0 deletions
