aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorKeith Smiley <keithbsmiley@gmail.com>2022-02-14 11:27:43 -0800
committerKeith Smiley <keithbsmiley@gmail.com>2022-03-23 14:06:59 -0700
commitfcca10c69aaab539962d10fcc59a5f074b73b0de (patch)
tree0ca83f32c4a3c8f5a792f448b14ecdeec82272a1 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent460fc440ad8d41ca2e3882987512989b1c188fbe (diff)
downloadllvm-fcca10c69aaab539962d10fcc59a5f074b73b0de.zip
llvm-fcca10c69aaab539962d10fcc59a5f074b73b0de.tar.gz
llvm-fcca10c69aaab539962d10fcc59a5f074b73b0de.tar.bz2
[AArch64] Add support for -march=native for Apple M1 CPU
This improves the getHostCPUName check for Apple M1 CPUs, which previously would always be considered cyclone instead. This also enables `-march=native` support when building on M1 CPUs which would previously fail. This isn't as sophisticated as the X86 CPU feature checking which consults the CPU via getHostCPUFeatures, but this is still better than before. This CPU selection could also be invalid if this was run on an iOS device instead, ideally we can improve those cases as they come up. Differential Revision: https://reviews.llvm.org/D119788
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions