[llvm] [BOLT] Fix conditional compilation of hugify.cpp (PR #135880)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 16:27:19 PDT 2025
https://github.com/maksfb created https://github.com/llvm/llvm-project/pull/135880
Fix builds after #117158: do not build hugify.cpp on Apple platforms.
>From 6c945c44469fa4ef10c1b7cec54c238bc80bd9e4 Mon Sep 17 00:00:00 2001
From: Maksim Panchenko <maks at fb.com>
Date: Tue, 15 Apr 2025 16:22:30 -0700
Subject: [PATCH] [BOLT] Fix conditional compilation of hugify
Fix builds after #117158: do not build hugify.cpp on Apple platforms.
---
bolt/runtime/hugify.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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"
More information about the llvm-commits
mailing list