llvm-project/lldb/unittests
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
..
API [lldb/CMake] Set the PYTHON_RPATH for the unit tests 2020-04-30 11:05:50 -07:00
Breakpoint [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Core [lldb/Module] Allow for the creation of memory-only modules 2020-07-14 08:45:44 -07:00
DataFormatter Reland [lldb] Unify type name matching in FormattersContainer II 2020-07-23 18:17:42 +02:00
Disassembler [lldb/Plugins] Rename lldbPluginDisassemblerLLVM (NFC) 2020-02-17 19:14:01 -08:00
Editline [lldb] Rename Master/Slave to Primary/Secondary (NFC) 2020-06-15 15:38:28 -07:00
Expression [DWARFYAML] Make the length field of compilation units optional. NFC. 2020-07-22 12:16:19 +08:00
Host [lldb] Rename Master/Slave to Primary/Secondary (NFC) 2020-06-15 15:38:28 -07:00
Instruction Fix UB in EmulateInstructionARM64.cpp 2020-06-01 18:11:50 -07:00
Interpreter [lldb] Make TestOptionValueFileColonLine work on Windows 2020-07-20 23:15:03 -07:00
Language [lldb] Reactivate Objective-C++ plugin 2020-06-19 19:16:46 +02:00
ObjectFile [lldb/ObjectFileMachO] Fetch shared cache images from our own shared cache 2020-07-16 10:37:37 -07:00
Platform [lldb/AppleSimulator] Always provide a -simulator environment 2020-07-27 12:50:50 -07:00
Process [lldb/Test] Fix unit test suffixes and add a CMake error. 2020-06-12 14:18:27 -07:00
ScriptInterpreter [lldb/ScriptInterpreter] Fix Windows error C2371: 'pid_t': redefinition 2020-06-25 17:15:29 -07:00
Signals [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Symbol [lldb/Module] Allow for the creation of memory-only modules 2020-07-14 08:45:44 -07:00
SymbolFile Fix Windows build 2020-07-22 11:01:25 -07:00
Target [lldb] Store StackFrameRecognizers in the target instead of a global list 2020-07-17 09:26:27 +02:00
TestingSupport [DWARFYAML] Refactor emitDebugInfo() to make the length be inferred. 2020-07-23 23:00:19 +08:00
Thread [lldb/Test] Fix unittest name 2020-06-12 14:01:14 -07:00
UnwindAssembly Bug where insn-based unwind plans on arm64 could be wrong 2020-04-14 16:57:25 -07:00
Utility [lldb/ArchSpec] Always match simulator environment in IsEqualTo 2020-07-27 17:33:37 -07:00
debugserver [lldb] Make RNBSocketTest compile again after socket modernization 2020-04-23 17:00:02 +02:00
tools [lldb] Change Communication::SetConnection to take a unique_ptr 2020-04-02 14:42:25 +02:00
CMakeLists.txt Reapply "Try enabling -Wsuggest-override again, using add_compile_options instead of add_compile_definitions for disabling it in unittests/ directories." 2020-07-22 17:50:19 -07:00
gtest_common.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00