dwarf: add debug info for error unions

This commit is contained in:
Jakub Konka
2022-03-25 15:50:42 +01:00
parent a1040a105a
commit 4985abcc49
2 changed files with 54 additions and 1 deletions

View File

@@ -694,7 +694,6 @@ pub fn generateSymbol(
return Result{ .appended = {} };
},
.ErrorUnion => {
// TODO generate debug info for error unions
const error_ty = typed_value.ty.errorUnionSet();
const payload_ty = typed_value.ty.errorUnionPayload();
const is_payload = typed_value.val.errorUnionIsPayload();