mirror of
https://github.com/ziglang/zig.git
synced 2025-12-26 08:03:08 +00:00
macho: let us dump some state and debug!
This commit is contained in:
parent
9a78173ee0
commit
5d0ea3fd27
@ -255,8 +255,6 @@ pub fn createEmpty(
|
||||
.program_code_size_hint = options.program_code_size_hint,
|
||||
});
|
||||
|
||||
std.debug.print("{}", .{self.dumpState()});
|
||||
|
||||
// TODO init dwarf
|
||||
|
||||
// if (comp.config.debug_format != .strip) {
|
||||
@ -544,6 +542,8 @@ pub fn flushModule(self: *MachO, arena: Allocator, prog_node: *std.Progress.Node
|
||||
self.internal_object = index;
|
||||
}
|
||||
|
||||
state_log.debug("{}", .{self.dumpState()});
|
||||
|
||||
try self.addUndefinedGlobals();
|
||||
try self.resolveSymbols();
|
||||
try self.resolveSyntheticSymbols();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user