[all-commits] [llvm/llvm-project] a4b92d: [memprof] Remove the "Live on exit:" print for tex...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Mon Nov 22 13:31:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4b92d61580d9a1ef9f4946ffe8d0bb6949596a8
      https://github.com/llvm/llvm-project/commit/a4b92d61580d9a1ef9f4946ffe8d0bb6949596a8
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2021-11-22 (Mon, 22 Nov 2021)

  Changed paths:
    M compiler-rt/lib/memprof/memprof_allocator.cpp
    M compiler-rt/test/memprof/TestCases/memprof_profile_dump.cpp

  Log Message:
  -----------
  [memprof] Remove the "Live on exit:" print for text format.

We dropped the printing of live on exit blocks in rG1243cef245f6 -
the commit changed the insertOrMerge logic. Remove the message since it
is no longer needed (all live blocks are inserted into the hashmap)
before serializing/printing the profile. Furthermore, the original
intent was to capture evicted blocks so it wasn't entirely correct.

Also update the binary format test invocation to remove the redundant
print_text directive now that it is the default.

Differential Revision: https://reviews.llvm.org/D114285




More information about the All-commits mailing list