[llvm] [BOLT] Fix conditional compilation of hugify.cpp (PR #135880)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 16:27:55 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Maksim Panchenko (maksfb)
<details>
<summary>Changes</summary>
Fix builds after #<!-- -->117158: do not build hugify.cpp on Apple platforms.
---
Full diff: https://github.com/llvm/llvm-project/pull/135880.diff
1 Files Affected:
- (modified) bolt/runtime/hugify.cpp (+2-2)
``````````diff
diff --git a/bolt/runtime/hugify.cpp b/bolt/runtime/hugify.cpp
index 67d5fa26007d2..672b04247dfa4 100644
--- a/bolt/runtime/hugify.cpp
+++ b/bolt/runtime/hugify.cpp
@@ -6,8 +6,8 @@
//
//===---------------------------------------------------------------------===//
-#if defined(__x86_64__) || \
- (defined(__aarch64__) || defined(__arm64__)) && !defined(__APPLE__)
+#if (defined(__x86_64__) || defined(__aarch64__) || defined(__arm64__)) && \
+ !defined(__APPLE__)
#include "common.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/135880
More information about the llvm-commits
mailing list