dwarf: add debug info for error sets

This commit is contained in:
Jakub Konka committed 2022-03-27 20:53:06 +02:00
1 parent d15bbebe2e
commit a1040a105a
2 files changed
+28 -2

No files matched your search

-2
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().?;