Skip to content

Commit

Permalink
macho: clean up formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Dec 10, 2020
1 parent 2e02b95 commit 5869a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/link/MachO.zig
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ fn linkWithLLD(self: *MachO, comp: *Compilation) !void {
mem.set(u8, dylib_cmd.data, 0);
mem.copy(u8, dylib_cmd.data, mem.spanZ(LIB_SYSTEM_PATH));
try self.load_commands.append(self.base.allocator, .{ .Dylib = dylib_cmd });

// Parse dyld info
try self.parseBindingInfo();
try self.parseLazyBindingInfo();
Expand Down Expand Up @@ -2059,7 +2060,7 @@ fn parseLazyBindingInfo(self: *MachO) !void {
}
}

fn parseAndFixupBindingInfoBuffer(allocator: *Allocator, buffer: []u8) !bool{
fn parseAndFixupBindingInfoBuffer(allocator: *Allocator, buffer: []u8) !bool {
var stream = std.io.fixedBufferStream(buffer);
var reader = stream.reader();
var done = false;
Expand Down

0 comments on commit 5869a22

Please sign in to comment.