Skip to content

Commit 088c87b

Browse files
committed
reformat
1 parent 5af3c45 commit 088c87b

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

lldb/source/Target/Process.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,25 +1069,25 @@ bool Process::SetExitStatus(int status, llvm::StringRef exit_string) {
10691069
std::lock_guard<std::mutex> guard(m_exit_status_mutex);
10701070
telemetry::ScopedDispatcher<telemetry::ProcessExitInfo> helper;
10711071

1072-
UUID module_uuid;
1073-
// Need this check because the pointer may not be valid at this point.
1074-
if (TargetSP target_sp = m_target_wp.lock()) {
1075-
helper.SetDebugger(&target_sp->GetDebugger());
1076-
if (ModuleSP mod = target_sp->GetExecutableModule())
1077-
module_uuid = mod->GetUUID();
1078-
}
1079-
1080-
helper.DispatchNow([&](telemetry::ProcessExitInfo *info) {
1081-
info->module_uuid = module_uuid;
1082-
info->pid = m_pid;
1083-
info->is_start_entry = true;
1084-
info->exit_desc = {status, exit_string.str()};
1085-
});
1072+
UUID module_uuid;
1073+
// Need this check because the pointer may not be valid at this point.
1074+
if (TargetSP target_sp = m_target_wp.lock()) {
1075+
helper.SetDebugger(&target_sp->GetDebugger());
1076+
if (ModuleSP mod = target_sp->GetExecutableModule())
1077+
module_uuid = mod->GetUUID();
1078+
}
1079+
1080+
helper.DispatchNow([&](telemetry::ProcessExitInfo *info) {
1081+
info->module_uuid = module_uuid;
1082+
info->pid = m_pid;
1083+
info->is_start_entry = true;
1084+
info->exit_desc = {status, exit_string.str()};
1085+
});
10861086

1087-
helper.DispatchOnExit([&](telemetry::ProcessExitInfo *info) {
1088-
info->module_uuid = module_uuid;
1089-
info->pid = m_pid;
1090-
});
1087+
helper.DispatchOnExit([&](telemetry::ProcessExitInfo *info) {
1088+
info->module_uuid = module_uuid;
1089+
info->pid = m_pid;
1090+
});
10911091

10921092
Log *log(GetLog(LLDBLog::State | LLDBLog::Process));
10931093
LLDB_LOG(log, "(plugin = {0} status = {1} ({1:x8}), description=\"{2}\")",

0 commit comments

Comments
 (0)