| author | |
| committer | |
| log | 5b5466626810302371b2d21c39e7ad04ea13a8dc |
| tree | 8ca524edb1ce05ae20e95e855f99fbb5318b63b1 |
| parent | 9a203fa7894cde183dc04bdfea63d9aea18c52da |
In case the compiler outputted an object file that is not slicable
into subsections, entry point may overlap with a section atom which
is perfectly fine, so don't panic in that case.1 files changed, 1 insertions(+), 1 deletions(-)
src/link/MachO/dead_strip.zig+1-1| ... | ... | @@ -102,7 +102,7 @@ fn collectRoots(zld: *Zld, roots: *AtomTable) !void { |
| 102 | 102 | }; |
| 103 | 103 | |
| 104 | 104 | if (is_gc_root) { |
| 105 | try roots.putNoClobber(atom_index, {}); | |
| 105 | _ = try roots.getOrPut(atom_index); | |
| 106 | 106 | |
| 107 | 107 | log.debug("root(ATOM({d}, %{d}, {?d}))", .{ |
| 108 | 108 | atom_index, |