Revert "[MemProf] Defer profile file setup until dump time"
authorTeresa Johnson <tejohnson@google.com>
Mon, 28 Nov 2022 14:29:24 +0000 (06:29 -0800)
committerTeresa Johnson <tejohnson@google.com>
Mon, 28 Nov 2022 14:29:24 +0000 (06:29 -0800)
commit311801a0179be9dc86895e08e3bba66cea2c0724
treefd54d3f8ac3cb0bdb5d96941935e201053f5abd6
parentd9e51e75521d5e33f24a6c1afacae5dbc115f96d
Revert "[MemProf] Defer profile file setup until dump time"

This reverts commit ea1826ee57984d4f44fdb4b35a47169d393618ed.

This change is breaking the ability of tests to override the profile
output file. Need to add a mechanism to do that before resubmitting.
compiler-rt/lib/memprof/memprof_allocator.cpp
compiler-rt/lib/memprof/memprof_rtl.cpp
compiler-rt/test/memprof/TestCases/atexit_stats.cpp
compiler-rt/test/memprof/TestCases/malloc-size-too-big.cpp