[all-commits] [llvm/llvm-project] ba1f44: [profile] Move RuntimeCounterRelocation and Profil...

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Mar 24 20:27:46 PDT 2020


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

  Changed paths:
    M compiler-rt/lib/profile/CMakeLists.txt
    M compiler-rt/lib/profile/InstrProfiling.c
    M compiler-rt/lib/profile/InstrProfilingFile.c
    A compiler-rt/lib/profile/InstrProfilingInternal.c
    M compiler-rt/lib/profile/InstrProfilingInternal.h
    M compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c

  Log Message:
  -----------
  [profile] Move RuntimeCounterRelocation and ProfileDumped into a separate file

This avoids the test failure that was introduced in rG32bddad where
this function pulls in the rest of InstrProfilingFile.c which is
undesirable in use cases when profile runtime is being used without
the rest of libc.

This also allows additional cleanup by eliminating another variable
from platforms that don't need it.

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




More information about the All-commits mailing list