aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-16 23:54:25 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-17 00:00:41 -0700
commit87779cfd93fdcb525f386d693a099e4188a3fc44 (patch)
treed5dab5dfbd5a5d93645996fde1c9c1199e2adf0b /test/behavior/math.zig
parent79d3780fbda475a50d6e0ca53d51c9e7c7690ab1 (diff)
downloadzig-87779cfd93fdcb525f386d693a099e4188a3fc44.tar.gz
zig-87779cfd93fdcb525f386d693a099e4188a3fc44.zip
stage2: prevent UB in the LLVM backend
* Sema: fix `zirTypeInfo` allocating with the wrong arenas for some stuff. * LLVM: split `airDbgInline` into two functions, one for each AIR tag. - remove the redundant copy to type_map_arena. This is the first thing that lowerDebugType does so this hack was probably just accidentally avoiding UB (which is still present prior to this commit). - don't store an inline fn inst into the di_map for the generic decl. - use a dummy function type for the debug info to avoid whatever UB is happening. - we are now ignoring the function type passed in with the dbg_inline_begin and dbg_inline_end. * behavior tests: prepare the vector tests to be enabled one at a time. Mitigates #11199.
Diffstat (limited to 'test/behavior/math.zig')
0 files changed, 0 insertions, 0 deletions