llvm-project/lldb
Jason Molenda 99515783a6 Don't search for sim SDK path until we know we need it
When iterating over all Platforms looking for the best one, on a Mac the
Simulator platforms (iOS, tvOS, watchOS) will first find their SDK
directory by calling xcrun, then decide if they should activate or not.
When that SDK is absent, the call to xcrun to find it can be very slow.
This patch delays that directory search until we know we're activating
this platform, so non-simulator environments don't pay a perf cost ever
time they go through the list of platforms.

Differential Revision: https://reviews.llvm.org/D122373
rdar://87960090
2022-03-24 15:44:57 -07:00
..
bindings [lldb] Expose diagnostic events through the SB API 2022-03-16 15:03:31 -07:00
cmake
docs [trace][intelpt] Server side changes for TSC to wall time conversion 2022-03-24 05:36:21 -07:00
examples [lldb/crashlog] Create artificial frames for non-crashed scripted threads 2022-03-16 15:50:10 -07:00
include/lldb [trace][intelpt] Server side changes for TSC to wall time conversion 2022-03-24 05:36:21 -07:00
packages/Python/lldbsuite [lldb/test] Add events listener helper function to lldbtest 2022-03-23 12:30:09 -07:00
resources
scripts
source Don't search for sim SDK path until we know we need it 2022-03-24 15:44:57 -07:00
test [lldb/test] Add events listener helper function to lldbtest 2022-03-23 12:30:09 -07:00
third_party/Python/module
tools [lldb/driver] Fix SIGTSTP handling 2022-03-09 14:31:17 +01:00
unittests [trace][intelpt] Server side changes for TSC to wall time conversion 2022-03-24 05:36:21 -07:00
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py