[PATCH] D151942: [BOLT] Instrumentation: AArch64 instrumentation support in runtime

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 16:09:50 PDT 2023


rafauler added inline comments.


================
Comment at: bolt/CMakeLists.txt:35-38
+if ((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
+    OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
     AND (CMAKE_SYSTEM_NAME STREQUAL "Linux"
+      OR CMAKE_SYSTEM_NAME STREQUAL "Darwin"))
----------------
phosek wrote:
> This probably also needs to check that `CMAKE_CROSSCOMPILING` isn't set (that is `NOT CMAKE_CROSSCOMPILING`).
Would this work? D158906


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151942/new/

https://reviews.llvm.org/D151942



More information about the llvm-commits mailing list