Skip to content

Commit

Permalink
[PR] Disable instrumentation and hugify build for aarch64
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yota9 authored and maksfb committed Oct 16, 2021
1 parent dc4b32e commit cb8d701
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bolt/runtime/hugify.cpp
Expand Up @@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//

#if defined (__x86_64__)
#if !defined(__APPLE__)

#include "common.h"
Expand Down Expand Up @@ -125,3 +126,4 @@ extern "C" __attribute((naked)) void __bolt_hugify_self() {
}

#endif
#endif
2 changes: 2 additions & 0 deletions bolt/runtime/instr.cpp
Expand Up @@ -40,6 +40,7 @@
//
//===----------------------------------------------------------------------===//

#if defined (__x86_64__)
#include "common.h"

// Enables a very verbose logging to stderr useful when debugging
Expand Down Expand Up @@ -1671,3 +1672,4 @@ void _bolt_instr_fini() {
}

#endif
#endif

0 comments on commit cb8d701

Please sign in to comment.