We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8334e8 + c8853a4 commit a0b6af1Copy full SHA for a0b6af1
lldb/packages/Python/lldbsuite/test/lldbutil.py
@@ -21,6 +21,7 @@
21
# LLDB modules
22
import lldb
23
from . import lldbtest_config
24
+from . import configuration
25
26
# How often failed simulator process launches are retried.
27
SIMULATOR_RETRY = 3
@@ -62,6 +63,11 @@ def mkdir_p(path):
62
63
# ============================
64
65
def get_xcode_sdk(os, env):
66
+ # Respect --apple-sdk <path> if it's specified. If the SDK is simply
67
+ # mounted from some disk image, and not actually installed, this is the
68
+ # only way to use it.
69
+ if configuration.apple_sdk:
70
+ return configuration.apple_sdk
71
if os == "ios":
72
if env == "simulator":
73
return "iphonesimulator"
0 commit comments