Skip to content

Remove extra word in log message #8410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ CreateExceptionResolver(const lldb::BreakpointSP &bkpt, bool catch_bp, bool thro
return resolver_sp;
}

static const char *g_stub_log_message =
"Swift language runtime isn't available because %s is not loaded in "
"the process. functionality.";

/// Simple Swift programs may not actually depend on the Swift runtime
/// library (libswiftCore.dylib), but if it is missing, what we can do
/// is limited. This implementation represents that case.
Expand All @@ -231,7 +227,8 @@ class SwiftLanguageRuntimeStub {
#define STUB_LOG() \
do { \
LLDB_LOGF(GetLog(LLDBLog::Expressions | LLDBLog::Types), \
g_stub_log_message, \
"Swift language runtime isn't available because %s is not " \
"loaded in the process.", \
GetStandardLibraryName(m_process).AsCString()); \
assert(false && "called into swift language runtime stub"); \
} while (0)
Expand Down