Reproduction Example:
go test -c -gcflags=all="-N -l" -timeout 30s -run ^TestLoadFunctionDefinitions_Heap$ dwarf_repro && ./dwarf_repro.test -test.v
=== RUN TestLoadFunctionDefinitions_Heap
dwarf_test.go:94: After 1000 iterations: base alloc = 1934624, final alloc = 340592, diff = 18446744073707957584
--- PASS: TestLoadFunctionDefinitions_Heap (19.92s)
PASS