[all-commits] [llvm/llvm-project] 32bdda: [profile] Make atexit hook a no-op on Fuchsia

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Mar 24 18:48:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 32bddad37bf01ea9151f7cef44f56bf4d3fe4f23
      https://github.com/llvm/llvm-project/commit/32bddad37bf01ea9151f7cef44f56bf4d3fe4f23
  Author: Petr Hosek <phosek at google.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfiling.h
    M compiler-rt/lib/profile/InstrProfilingBuffer.c
    M compiler-rt/lib/profile/InstrProfilingFile.c
    M compiler-rt/lib/profile/InstrProfilingInternal.h
    M compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
    M compiler-rt/lib/profile/InstrProfilingRuntime.cpp

  Log Message:
  -----------
  [profile] Make atexit hook a no-op on Fuchsia

On Fuchsia, we always use the continuous mode with runtime counter
relocation, so there's no need for atexit hook or support for dumping
the profile manually.

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




More information about the All-commits mailing list