[compiler-rt] [compiler-rt] Add baremetal version of profile library. (PR #167998)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 5 13:32:31 PST 2025


================
@@ -131,9 +130,11 @@ COMPILER_RT_VISIBILITY
 int __llvm_profile_merge_from_buffer(const char *ProfileData,
                                      uint64_t ProfileSize) {
   if (__llvm_profile_get_version() & VARIANT_MASK_TEMPORAL_PROF) {
+#ifndef COMPILER_RT_PROFILE_BAREMETAL
----------------
efriedma-quic wrote:

Done.

https://github.com/llvm/llvm-project/pull/167998


More information about the llvm-commits mailing list