diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-07-04 19:26:49 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2019-07-04 19:26:49 +0000 |
commit | 1522073fedc2cd6f18655ea3e8268095c90868a2 (patch) | |
tree | c816025eeef4bb29358e1327c2d89be1950ef1da /llvm/docs/CommandGuide/llvm-mca.rst | |
parent | bce9d8b138ca823d4ed7eacd0642980ca5172f74 (diff) | |
download | bcm5719-llvm-1522073fedc2cd6f18655ea3e8268095c90868a2.tar.gz bcm5719-llvm-1522073fedc2cd6f18655ea3e8268095c90868a2.zip |
Plugins: permit building on Windows ARM64
Rather than relying on `sizeof(void *)` to determine the architecture,
use the `CMAKE_SYSTEM_PROCESSOR` variable. This should allow us to
build for Windows and cross-compile. Without this, we would attempt to
build the x64 plugin on ARM64 which would fail due to the `CONTEXT` type
being defined for ARM64 rather than `x64`.
llvm-svn: 365155
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-mca.rst')
0 files changed, 0 insertions, 0 deletions