![]() 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} |
||
---|---|---|
.. | ||
allocs.ll | ||
allocs.out.ll | ||
allocs2.go | ||
gc-stackslots.ll | ||
gc-stackslots.out.ll | ||
interface.ll | ||
interface.out.ll | ||
interrupt.ll | ||
interrupt.out.ll | ||
maps.ll | ||
maps.out.ll | ||
panic.ll | ||
panic.out.ll | ||
reflect-implements.ll | ||
reflect-implements.out.ll | ||
reflect.go | ||
stacksize.ll | ||
stacksize.out.ll | ||
stringequal.ll | ||
stringequal.out.ll | ||
stringtobytes.ll | ||
stringtobytes.out.ll | ||
wasm-abi.ll | ||
wasm-abi.out.ll |