diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-05-02 12:53:38 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-05-02 21:07:11 -0700 |
commit | e53019a8ff778048dd83aee29dd659af8b771920 (patch) | |
tree | 03aa59e273a583b7c57eebd902873c4f7f9f8906 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 3baff808044722aacdb8e80258333855f12c9325 (diff) | |
download | llvm-e53019a8ff778048dd83aee29dd659af8b771920.zip llvm-e53019a8ff778048dd83aee29dd659af8b771920.tar.gz llvm-e53019a8ff778048dd83aee29dd659af8b771920.tar.bz2 |
[lldb] Make GetSharedModuleWithLocalCache consider the device support directory
Make GetSharedModuleWithLocalCache consider the device support
directory. In the past we only needed the device support directory to
debug remote processes. Since the introduction of Apple Silicon and
Rosetta this stopped being true.
When debugging a Rosetta process on macOS we need to consider the
Rosetta expanded shared cache. This patch and it dependencies move that
logic out of PlatfromRemoteDarwinDevice into a new abstract class called
PlatfromDarwinDevice. The new platform sit in between PlatformDarwin and
PlatformMacOSX and PlatformRemoteDarwinDevice and has all the necessary
logic to deal with the device support directory.
Technically I could have moved everything in PlatfromDarwinDevice into
PlatfromDarwin but decided that this logic is sufficiently self
contained that it warrants its own abstraction.
rdar://91966349
Differential revision: https://reviews.llvm.org/D124801
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions