[all-commits] [llvm/llvm-project] 968e3b: [memprof] Add flag to control profile dump at exit...

Ellis Hoag via All-commits all-commits at lists.llvm.org
Tue Dec 10 13:12:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 968e3b682362e46042a718036ea7a641909b6375
      https://github.com/llvm/llvm-project/commit/968e3b682362e46042a718036ea7a641909b6375
  Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M compiler-rt/lib/memprof/memprof_allocator.cpp
    M compiler-rt/lib/memprof/memprof_flags.inc
    A compiler-rt/test/memprof/TestCases/dump_at_exit.cpp

  Log Message:
  -----------
  [memprof] Add flag to control profile dump at exit (#119452)

Add the `dump_at_exit` flag to control whether or not profiles should be
dumped when the program exits. Since we can call
`__memprof_profile_dump()` directly, we don't necessarily need to dump
profiles at exit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list