llvm: ensure returned undef is 0xaa bytes when runtime safety is enabled

Closes #13178
This commit is contained in:
Veikka Tuominen
2024-01-29 14:33:53 +02:00
committed by Andrew Kelley
parent 4dfca01de4
commit 7d75c3d3b8
15 changed files with 95 additions and 5 deletions

View File

@@ -2177,6 +2177,7 @@ const DeclGen = struct {
.cond_br => return self.airCondBr(inst),
.loop => return self.airLoop(inst),
.ret => return self.airRet(inst),
.ret_safe => return self.airRet(inst), // TODO
.ret_load => return self.airRetLoad(inst),
.@"try" => try self.airTry(inst),
.switch_br => return self.airSwitchBr(inst),