aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2024-01-23 13:42:24 +0200
committerMartin Storsjö <martin@martin.st>2024-01-23 13:42:24 +0200
commite3d73ad58c41b945d9fc5d5fb16ea44850ccf652 (patch)
treeb4b1262e24b47e2526fd814503a7037f6734047f /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent7ec078ed4b7f6e7f44133a2abbc35c74b67787cc (diff)
downloadllvm-e3d73ad58c41b945d9fc5d5fb16ea44850ccf652.zip
llvm-e3d73ad58c41b945d9fc5d5fb16ea44850ccf652.tar.gz
llvm-e3d73ad58c41b945d9fc5d5fb16ea44850ccf652.tar.bz2
[clang-repl] Fix CMake errors when cross compiling
These stem from 4821c90c24d52d4a42990fd9371caedb157bc58b. When cross compiling, CMAKE_SYSTEM_PROCESSOR is empty, if the target processor hasn't been set when setting up the cross compilation. Ideally, when setting up cross compilation with CMake, the user is supposed to set CMAKE_SYSTEM_PROCESSOR, but so far, compilation has worked just fine even without it. Quote the string where CMAKE_SYSTEM_PROCESSOR is expanded, to avoid argument errors when it expands to an empty string.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions