plan9: emit line debug info in codegen

This commit is contained in:
Jacob G-W committed 2021-09-18 19:43:26 -04:00
1 parent f0b1eec809
commit f388b57553
4 files changed
+74 -5

No files matched your search

+3 -1
View File
@@ -3674,7 +3674,9 @@ fn scanDecl(iter: *ScanDeclIter, decl_sub_index: usize, flags: u4) SemaError!voi
mod.comp.work_queue.writeItemAssumeCapacity(.{ .update_line_number = decl });
},
.plan9 => {
// TODO implement for plan9
// TODO Look into detecting when this would be unnecessary by storing enough state
// in `Decl` to notice that the line number did not change.
mod.comp.work_queue.writeItemAssumeCapacity(.{ .update_line_number = decl });
},
.c, .wasm, .spirv => {},
}