[llvm] [BOLT] Enable hugify for AArch64 (PR #117158)
Peter Waller via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 06:09:47 PST 2024
================
@@ -151,10 +151,12 @@ struct timespec {
uint64_t tv_nsec; /* nanoseconds */
};
-#if defined(__aarch64__)
+#if defined(__aarch64__) || defined(__arm64__)
#include "sys_aarch64.h"
-#else
+#elif defined(__x86_64__)
#include "sys_x86_64.h"
+#else
+ exit(1);
----------------
peterwaller-arm wrote:
Could use #error instead to make it a more obvious failure?
https://github.com/llvm/llvm-project/pull/117158
More information about the llvm-commits
mailing list