mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 13:33:21 +00:00
macho: assert every global is extern in incremental context
This commit is contained in:
parent
e9ad9e04c9
commit
e54f286c3b
@ -3380,7 +3380,7 @@ fn collectExportData(self: *MachO, trie: *Trie) !void {
|
||||
const sym = self.getSymbol(global);
|
||||
|
||||
if (sym.undf()) continue;
|
||||
if (!sym.ext()) continue;
|
||||
assert(sym.ext());
|
||||
|
||||
const sym_name = self.getSymbolName(global);
|
||||
log.debug(" (putting '{s}' defined at 0x{x})", .{ sym_name, sym.n_value });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user