aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2022-02-25 00:55:54 -0800
committerJason Molenda <jason@molenda.com>2022-02-25 00:55:54 -0800
commitcd2ba23efb3e282d86cf7a94952f0bf61677fa7f (patch)
tree5ef1f2d9c5459429fbc263ddbdcec809687a23d3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent2d0fc3e46ff386a05fa388874b8456bf61c4ce7a (diff)
downloadllvm-cd2ba23efb3e282d86cf7a94952f0bf61677fa7f.zip
llvm-cd2ba23efb3e282d86cf7a94952f0bf61677fa7f.tar.gz
llvm-cd2ba23efb3e282d86cf7a94952f0bf61677fa7f.tar.bz2
PlatformMacOSX should be activated for lldb built to run on an iOS etc device
In the changes Jonas made in https://reviews.llvm.org/D117340 , a small oversight was that PlatformMacOSX (despite the name) is active for any native Darwin operating system, where lldb and the target process are running on the same system. This patch uses compile-time checks to return the appropriate OSType for the OS lldb is being compiled to, so the "host" platform will correctly be selected when lldb & the inferior are both running on that OS. And a small change to PlatformMacOSX::GetSupportedArchitectures which adds additional recognized triples when running on macOS but not other native Darwin systems. Differential Revision: https://reviews.llvm.org/D120517 rdar://89247060
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions