elf: add debug info for non-ptr optionals

This commit is contained in:
Jakub Konka
2022-03-05 20:17:58 +01:00
parent 9a027d9ee3
commit 1252bdd4d6
2 changed files with 56 additions and 24 deletions

View File

@@ -639,7 +639,6 @@ pub fn generateSymbol(
return Result{ .appended = {} };
},
.Optional => {
// TODO generate debug info for optionals
var opt_buf: Type.Payload.ElemType = undefined;
const payload_type = typed_value.ty.optionalChild(&opt_buf);
const is_pl = !typed_value.val.isNull();