[llvm] [BOLT] Enable hugify for AArch64 (PR #117158)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 06:16:50 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);
----------------
alekuz01 wrote:
it is being used before like this, I have decided to avoid touch as didn't know clear intentions to fail in this case.
But make sense to make it as '#error', maybe then in another place as well
https://github.com/llvm/llvm-project/pull/117158
More information about the llvm-commits
mailing list