[clang] [compiler-rt] [PGO][Offload] Hide GPU entrypoint on Darwin (PR #132966)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 25 18:52:52 PDT 2025


================
@@ -1273,6 +1273,7 @@ COMPILER_RT_VISIBILITY int __llvm_profile_set_file_object(FILE *File,
   return 0;
 }
 
+#ifdef COMPILER_RT_GPU_ENTRYPOINT
----------------
jhuber6 wrote:

Can't we just use `__APPLE__`?

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


More information about the llvm-commits mailing list