[PR] Disable instrumentation and hugify build for aarch64

Summary:
This patch temporarily disables instrumentation and higufy build not for
x86 platforms to be able to build llvm-bolt tool on aarch64.

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

(cherry picked from FBD31738306)
This commit is contained in:
Vladislav Khmelevsky 2021-10-16 17:35:29 +03:00 committed by Maksim Panchenko
parent dc4b32e1b1
commit cb8d701b7b
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//
#if defined (__x86_64__)
#if !defined(__APPLE__)
#include "common.h"
@ -125,3 +126,4 @@ extern "C" __attribute((naked)) void __bolt_hugify_self() {
}
#endif
#endif

View File

@ -40,6 +40,7 @@
//
//===----------------------------------------------------------------------===//
#if defined (__x86_64__)
#include "common.h"
// Enables a very verbose logging to stderr useful when debugging
@ -1671,3 +1672,4 @@ void _bolt_instr_fini() {
}
#endif
#endif