dwarf: add debug info for error sets

This commit is contained in:
Jakub Konka
2022-03-25 13:55:12 +01:00
parent d15bbebe2e
commit a1040a105a
2 changed files with 28 additions and 2 deletions

View File

@@ -573,7 +573,6 @@ pub fn generateSymbol(
return Result{ .appended = {} };
},
.Union => {
// TODO generate debug info for unions
const union_obj = typed_value.val.castTag(.@"union").?.data;
const layout = typed_value.ty.unionGetLayout(target);
@@ -749,7 +748,6 @@ pub fn generateSymbol(
return Result{ .appended = {} };
},
.ErrorSet => {
// TODO generate debug info for error sets
switch (typed_value.val.tag()) {
.@"error" => {
const name = typed_value.val.getError().?;