diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-02-01 15:03:55 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-02-01 15:03:55 +0100 |
| commit | 5de2aae63cd75322e58204a6be8df49754e4851a (patch) | |
| tree | c8e61e82649f412b6a7c4b5bb422f9855df61665 /src/link/Wasm/Atom.zig | |
| parent | d98fc53b8fbe479f828114b0276d5290146cc2a3 (diff) | |
| download | zig-5de2aae63cd75322e58204a6be8df49754e4851a.tar.gz zig-5de2aae63cd75322e58204a6be8df49754e4851a.zip | |
link: decouple DI atoms from linker atoms, and manage them in Dwarf linker
Diffstat (limited to 'src/link/Wasm/Atom.zig')
| -rw-r--r-- | src/link/Wasm/Atom.zig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/link/Wasm/Atom.zig b/src/link/Wasm/Atom.zig index 20f847e475..554f98b5ca 100644 --- a/src/link/Wasm/Atom.zig +++ b/src/link/Wasm/Atom.zig @@ -4,7 +4,6 @@ const std = @import("std"); const types = @import("types.zig"); const Wasm = @import("../Wasm.zig"); const Symbol = @import("Symbol.zig"); -const Dwarf = @import("../Dwarf.zig"); const leb = std.leb; const log = std.log.scoped(.link); @@ -39,9 +38,6 @@ prev: ?*Atom, /// When the parent atom is being freed, it will also do so for all local atoms. locals: std.ArrayListUnmanaged(Atom) = .{}, -/// Represents the debug Atom that holds all debug information of this Atom. -dbg_info_atom: Dwarf.Atom, - /// Represents a default empty wasm `Atom` pub const empty: Atom = .{ .alignment = 0, @@ -51,7 +47,6 @@ pub const empty: Atom = .{ .prev = null, .size = 0, .sym_index = 0, - .dbg_info_atom = undefined, }; /// Frees all resources owned by this `Atom`. |
