llvm-project/lldb/source
Fred Riss 4c6eebf86a [lldb/AppleSimulator] Always provide a -simulator environment
Summary:
This commit is somewhat NFC-ish today as the environment of triples
is not considered when comparing s if one of them is
not set (I plan to change that).

We have made simulator triples unambiguous these days, but the
simulator platforms still advertise triples without the
environment. This wasn't an issue when the sims ran only on
a very different architecure than the real device, but this
has changed with Apple Silicon.

This patch simplifies the way GetSupportedArchitectureAtIndex
is implemented for the sim platforms and adds the environment.
It also trivially adds support for Apple Silicon to those
platforms.

Reviewers: aprantl

Subscribers: lldb-commits
2020-07-27 12:50:50 -07:00
..
API Temporarily Revert "Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish)" 2020-07-25 18:42:04 -07:00
Breakpoint [lldb] Fix redundant newline in AppendError calls. 2020-07-20 23:11:56 -07:00
Commands [lldb][NFC] Use a StringRef for AddRegexCommand::AddRegexCommand parameters 2020-07-27 14:36:47 +02:00
Core [lldb] Modernize away some snprintf calls 2020-07-27 14:27:54 +02:00
DataFormatters [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
Expression Temporarily Revert "Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish)" 2020-07-25 18:42:04 -07:00
Host [Windows] Fix limit on command line size 2020-07-23 11:39:42 +07:00
Initialization [lldb/Reproducers] Always record the current working directory 2020-07-20 11:54:11 -07:00
Interpreter [lldb][NFC] Use a StringRef for AddRegexCommand::AddRegexCommand parameters 2020-07-27 14:36:47 +02:00
Plugins [lldb/AppleSimulator] Always provide a -simulator environment 2020-07-27 12:50:50 -07:00
Symbol Thread ExecutionContextScope through GetByteSize where possible (NFC-ish) 2020-07-22 08:56:29 -07:00
Target Temporarily Revert "Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish)" 2020-07-25 18:42:04 -07:00
Utility [lldb/Utility] Clean up Scalar constructors 2020-07-27 10:06:56 +02:00
CMakeLists.txt Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
lldb.cpp [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY 2020-02-20 10:07:50 -08:00