[all-commits] [llvm/llvm-project] ce6ae7: [compiler-rt][profile] Add COMPILER_RT_BUILD_PROFI...

Guy David via All-commits all-commits at lists.llvm.org
Thu May 28 01:15:55 PDT 2026


  Branch: refs/heads/users/guy-david/profile-rocm-option
  Home:   https://github.com/llvm/llvm-project
  Commit: ce6ae705f32b61c6244e3334c9833ddd316f0358
      https://github.com/llvm/llvm-project/commit/ce6ae705f32b61c6244e3334c9833ddd316f0358
  Author: Guy David <guyda96 at gmail.com>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M compiler-rt/CMakeLists.txt
    M compiler-rt/lib/profile/CMakeLists.txt
    M compiler-rt/lib/profile/InstrProfilingFile.c

  Log Message:
  -----------
  [compiler-rt][profile] Add COMPILER_RT_BUILD_PROFILE_ROCM option

InstrProfilingPlatformROCm.cpp (added in 5db13643f4b7) is currently built
into every non-baremetal libclang_rt.profile, but not all hosts support it
(e.g. it fails to link on Darwin, where __llvm_write_custom_profile is
unavailable).

Add a COMPILER_RT_BUILD_PROFILE_ROCM CMake option (defaulting off on Apple,
on elsewhere) to allow that host to opt out.



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