llvm-project/lldb
Fred Riss 8120eba5fc [lldb/ArchSpec] Always match simulator environment in IsEqualTo
Summary:
Initially, Apple simulator binarie triples didn't use a `-simulator`
environment and were just differentiated based on the architecture.
For example, `x86_64-apple-ios` would obviously be a simualtor as iOS
doesn't run on x86_64. With Catalyst, we made the disctinction
explicit and today, all simulator triples (even the legacy ones) are
constructed with an environment. This is especially important on Apple
Silicon were the architecture is not different from the one of the
simulated device.

This change makes the simulator part of the environment always part of
the criteria to detect whether 2 `ArchSpec`s are equal or compatible.

Reviewers: aprantl

Subscribers: inglorion, dexonsmith, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D84716
2020-07-27 17:33:37 -07:00
..
bindings [lldb] Make sure we don't leak SBThreadPlan pointer (NFCI) 2020-07-20 16:58:06 -07:00
cmake [CMake] Move find_package(ZLIB) to LLVMConfig 2020-07-27 17:13:55 -07:00
docs Updated the list of supported platforms in LLDB to include Apple silicon. 2020-07-08 15:33:00 -07:00
examples Harmonize Python shebang 2020-07-16 21:53:45 +02:00
include/lldb Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
packages/Python Add Debug Info Size to Symbol Status 2020-07-24 13:30:04 -07:00
resources
scripts Harmonize Python shebang 2020-07-16 21:53:45 +02:00
source [lldb/ArchSpec] Always match simulator environment in IsEqualTo 2020-07-27 17:33:37 -07:00
test [lldb/DWARF] Don't treat class declarations with children as definitions 2020-07-27 12:58:22 +02:00
third_party/Python/module Harmonize Python shebang 2020-07-16 21:53:45 +02:00
tools Add Debug Info Size to Symbol Status 2020-07-24 13:30:04 -07:00
unittests [lldb/ArchSpec] Always match simulator environment in IsEqualTo 2020-07-27 17:33:37 -07:00
utils [lldb/Test] Fix missing yaml2obj in Xcode standalone build. 2020-07-10 21:34:56 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
CODE_OWNERS.txt [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
LICENSE.TXT
use_lldb_suite_root.py