Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
Diffstat (limited to 'bolt')
-rw-r--r--bolt/runtime/hugify.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/bolt/runtime/hugify.cpp b/bolt/runtime/hugify.cpp
index d8a2d8b45f6c..05c1be4f2d70 100644
--- a/bolt/runtime/hugify.cpp
+++ b/bolt/runtime/hugify.cpp
@@ -6,8 +6,7 @@
//
//===---------------------------------------------------------------------===//
-#if defined (__x86_64__)
-#if !defined(__APPLE__)
+#if defined (__x86_64__) && !defined(__APPLE__)
#include "common.h"
@@ -136,7 +135,6 @@ static void hugifyForOldKernel(uint8_t *From, uint8_t *To) {
__munmap(Mem, Size);
}
-#endif
extern "C" void __bolt_hugify_self_impl() {
uint8_t *HotStart = (uint8_t *)&__hot_start;