https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999
--- Comment #1 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- These entries looks screwed to me: -- snip -- 32: 1024 [32: 1024] @ ... # 0x8000c44b ...allocatePersistent1K ... mprof_test.go:43 # 0x8000c595 ...TestMemoryProfiler ... mprof_test.go:65 ... 0: 0 [1: 32] @ ... # 0x8000c3b7 ...allocateTransient2M ... mprof_test.go:30 # 0x8000c58f ...TestMemoryProfiler ... mprof_test.go:64 ... -- snip -- In line 64 there's a call to allocateTransient1M(), not to allocateTransient2M() as the stack trace claims, and likewise line 65 calls allocateTransient2M() and not allocatePersistent1K(). On top of that, the output for line 66 is missing completely.