Skip to content

Commit

Permalink
elf: rename Object.initSymtab to Object.initSymbols
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Sep 12, 2024
1 parent 31621f0 commit 1445d7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Elf/Object.zig
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub fn parse(self: *Object, elf_file: *Elf) !void {
try self.merge_sections.append(gpa, .{});

try self.initAtoms(gpa, file, elf_file);
try self.initSymtab(gpa, elf_file);
try self.initSymbols(gpa, elf_file);

for (self.shdrs.items, 0..) |shdr, i| {
const atom = self.getAtom(self.atoms_indexes.items[i]) orelse continue;
Expand Down Expand Up @@ -276,7 +276,7 @@ fn skipShdr(self: *Object, index: u32, elf_file: *Elf) bool {
return ignore;
}

fn initSymtab(self: *Object, allocator: Allocator, elf_file: *Elf) !void {
fn initSymbols(self: *Object, allocator: Allocator, elf_file: *Elf) !void {
const tracy = trace(@src());
defer tracy.end();

Expand Down

0 comments on commit 1445d7a

Please sign in to comment.