[all-commits] [llvm/llvm-project] 25dade: [profile] Decommit memory after counter relocation

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Jul 15 22:50:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25dade54d3ece60dc9fb8f9960e4a558e85f7ae9
      https://github.com/llvm/llvm-project/commit/25dade54d3ece60dc9fb8f9960e4a558e85f7ae9
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingFile.c
    M compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
    M compiler-rt/lib/profile/InstrProfilingUtil.c
    M compiler-rt/lib/profile/InstrProfilingUtil.h
    M compiler-rt/lib/profile/WindowsMMap.c
    M compiler-rt/lib/profile/WindowsMMap.h

  Log Message:
  -----------
  [profile] Decommit memory after counter relocation

After we relocate counters, we no longer need to keep the original copy
around so we can return the memory back to the operating system.

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




More information about the All-commits mailing list