diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-03-27 17:04:20 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-03-27 20:53:06 +0200 |
| commit | 366ec2105249050fe88e5fa9f241e14f708db891 (patch) | |
| tree | 9b01747e24d6a1b28be90af333c53dc8567ddfa6 /src/codegen.zig | |
| parent | 4ca9b4c44a4fbe2b64b11d2c8a951c2c3e961619 (diff) | |
| download | zig-366ec2105249050fe88e5fa9f241e14f708db891.tar.gz zig-366ec2105249050fe88e5fa9f241e14f708db891.zip | |
dwarf: track type relocation state in Dwarf module
Diffstat (limited to 'src/codegen.zig')
| -rw-r--r-- | src/codegen.zig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/codegen.zig b/src/codegen.zig index f4803c77ea..fa84ad0d52 100644 --- a/src/codegen.zig +++ b/src/codegen.zig @@ -42,11 +42,7 @@ pub const GenerateSymbolError = error{ }; pub const DebugInfoOutput = union(enum) { - dwarf: struct { - dbg_line: *std.ArrayList(u8), - dbg_info: *std.ArrayList(u8), - dbg_info_type_relocs: *link.File.Dwarf.DbgInfoTypeRelocsTable, - }, + dwarf: *link.File.Dwarf, /// the plan9 debuginfo output is a bytecode with 4 opcodes /// assume all numbers/variables are bytes /// 0 w x y z -> interpret w x y z as a big-endian i32, and add it to the line offset |
