![]() This has two benefits: 1. It attributes these bytes to the internal/task package (in -size=full), instead of (unknown). 2. It makes it possible to print the stack sizes variable in GDB. This is what it might look like in GDB: (gdb) p 'internal/task.stackSizes' $13 = {344, 120, 80, 2048, 360, 112, 80, 120, 2048, 2048} |
||
---|---|---|
.. | ||
testdata | ||
allocs.go | ||
allocs_test.go | ||
errors.go | ||
gc.go | ||
gc_test.go | ||
interface-lowering.go | ||
interface-lowering_test.go | ||
interrupt.go | ||
interrupt_test.go | ||
llvm.go | ||
maps.go | ||
maps_test.go | ||
optimizer.go | ||
panic.go | ||
panic_test.go | ||
rtcalls.go | ||
rtcalls_test.go | ||
stacksize.go | ||
stacksize_test.go | ||
transform.go | ||
transform_test.go | ||
util.go | ||
wasm-abi.go | ||
wasm-abi_test.go |