diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-03-28 19:27:05 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-03-28 19:27:05 +0200 |
| commit | 25f3175217dace219af643bce7bd28913a970362 (patch) | |
| tree | bde52f03052e390f398cf382c15051c3917d5157 /src/link/Coff/Relocation.zig | |
| parent | 004f32e79d61cb549b6cf71499138db0df56e152 (diff) | |
| download | zig-25f3175217dace219af643bce7bd28913a970362.tar.gz zig-25f3175217dace219af643bce7bd28913a970362.zip | |
coff: use ArrayHashMap if we are iterating over keys
Diffstat (limited to 'src/link/Coff/Relocation.zig')
| -rw-r--r-- | src/link/Coff/Relocation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Coff/Relocation.zig b/src/link/Coff/Relocation.zig index c0fd5562e4..4e2f772524 100644 --- a/src/link/Coff/Relocation.zig +++ b/src/link/Coff/Relocation.zig @@ -72,7 +72,7 @@ pub fn getTargetAddress(self: Relocation, coff_file: *const Coff) ?u32 { } } -pub fn resolve(self: *Relocation, atom_index: Atom.Index, code: []u8, coff_file: *Coff) void { +pub fn resolve(self: Relocation, atom_index: Atom.Index, code: []u8, coff_file: *Coff) void { const atom = coff_file.getAtom(atom_index); const source_sym = atom.getSymbol(coff_file); const source_vaddr = source_sym.value + self.offset; |
