Skip to content

Commit 63e8c1c

Browse files
JDevliegherevinay-deshmukh
authored andcommitted
[lldb] Make it so not finding and SDK doesn't look like an error (llvm#166676)
There may be valid reasons for not being able to find an SDK. Right now, it's printed as an error, which is causing confusion for users that interpret the error as something fatal, and not something that can be ignored. rdar://155346799
1 parent 3631986 commit 63e8c1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void PlatformAppleSimulator::GetStatus(Stream &strm) {
9090
if (!sdk.empty())
9191
strm << " SDK Path: \"" << sdk << "\"\n";
9292
else
93-
strm << " SDK Path: error: unable to locate SDK\n";
93+
strm << " SDK Path: <unable to locate SDK>\n";
9494

9595
#if defined(__APPLE__)
9696
// This will get called by subclasses, so just output status on the current

lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void PlatformRemoteDarwinDevice::GetStatus(Stream &strm) {
5353
if (sdk_directory)
5454
strm.Printf(" SDK Path: \"%s\"\n", sdk_directory);
5555
else
56-
strm.PutCString(" SDK Path: error: unable to locate SDK\n");
56+
strm.PutCString(" SDK Path: <unable to locate SDK>\n");
5757

5858
const uint32_t num_sdk_infos = m_sdk_directory_infos.size();
5959
for (uint32_t i = 0; i < num_sdk_infos; ++i) {

0 commit comments

Comments
 (0)