forked from OSchip/llvm-project
[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:
parent
dc4b32e1b1
commit
cb8d701b7b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue