This patch allows running `-fmemory-profile` without the flag `-memprof-use-callbacks`, meaning the `RecordAccessesHistogram` is injected into IR as a sequence of instructions. This significantly increases performance of the instrumented binary.
This patch allows running `-fmemory-profile` without the flag `-memprof-use-callbacks`, meaning the `RecordAccessesHistogram` is injected into IR as a sequence of instructions. This significantly increases performance of the instrumented binary.