mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
plan9: emit line debug info in codegen
This commit is contained in:
1 parent
f0b1eec809
commit
f388b57553
4 files changed
+74
-5
No files matched your search
+3
-1
@@ -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 => {},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user