authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-10 19:51:21-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-01-15 15:11:36-08:00
log220af3f446b9d02aeb3e3553c4744c30aaf4e2b8
treeb7e2b18d6dff5874044d550f807093dde098f611
parent7b255235d60cb2891ec628506f4d5e8ca811a865

wasm-linker: add updateFunc log


1 files changed, 4 insertions(+), 0 deletions(-)

src/link/Wasm.zig+4
......@@ -3069,6 +3069,10 @@ pub fn updateFunc(wasm: *Wasm, pt: Zcu.PerThread, func_index: InternPool.Index,
30693069 try wasm.functions.ensureUnusedCapacity(gpa, 1);
30703070 try wasm.zcu_funcs.ensureUnusedCapacity(gpa, 1);
30713071
3072 const ip = &zcu.intern_pool;
3073 const owner_nav = zcu.funcInfo(func_index).owner_nav;
3074 log.debug("updateFunc {}", .{ip.getNav(owner_nav).fqn.fmt(ip)});
3075
30723076 const zds: ZcuDataStarts = .init(wasm);
30733077
30743078 // This converts AIR to MIR but does not yet lower to wasm code.