[PATCH] D119038: [BOLT] Fix runtime osx cross-compile build
Vladislav Khmelevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 7 16:43:39 PST 2022
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG823ebcc7a809: [BOLT] Fix runtime osx cross-compile build (authored by yota9).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119038/new/
https://reviews.llvm.org/D119038
Files:
bolt/runtime/common.h
Index: bolt/runtime/common.h
===================================================================
--- bolt/runtime/common.h
+++ bolt/runtime/common.h
@@ -11,6 +11,12 @@
#include <cstddef>
#include <cstdint>
+#include "config.h"
+
+#ifdef HAVE_ELF_H
+#include <elf.h>
+#endif
+
#else
typedef __SIZE_TYPE__ size_t;
@@ -32,12 +38,6 @@
#endif
-#include "config.h"
-
-#ifdef HAVE_ELF_H
-#include <elf.h>
-#endif
-
// Save all registers while keeping 16B stack alignment
#define SAVE_ALL \
"push %%rax\n" \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119038.406650.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220208/e55479b7/attachment.bin>
More information about the llvm-commits
mailing list