From ab50317e96e57dee5b3ff4ad3f16f205b2a3359e Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 24 Jan 2024 20:17:23 +0100 Subject: Merge llvm-project main llvmorg-18-init-18359-g93248729cfae This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvm-project main llvmorg-18-init-18359-g93248729cfae, the last commit before the upstream release/18.x branch was created. PR: 276104 MFC after: 1 month (cherry picked from commit 7a6dacaca14b62ca4b74406814becb87a3fefac0) --- contrib/llvm-project/lldb/source/Core/Module.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'contrib/llvm-project/lldb/source/Core/Module.cpp') diff --git a/contrib/llvm-project/lldb/source/Core/Module.cpp b/contrib/llvm-project/lldb/source/Core/Module.cpp index 331cf3246641..8ffa35518b3c 100644 --- a/contrib/llvm-project/lldb/source/Core/Module.cpp +++ b/contrib/llvm-project/lldb/source/Core/Module.cpp @@ -971,14 +971,14 @@ void Module::FindTypes(const TypeQuery &query, TypeResults &results) { symbols->FindTypes(query, results); } -static Debugger::DebuggerList +static Debugger::DebuggerList DebuggersOwningModuleRequestingInterruption(Module &module) { - Debugger::DebuggerList requestors - = Debugger::DebuggersRequestingInterruption(); + Debugger::DebuggerList requestors = + Debugger::DebuggersRequestingInterruption(); Debugger::DebuggerList interruptors; if (requestors.empty()) return interruptors; - + for (auto debugger_sp : requestors) { if (!debugger_sp->InterruptRequested()) continue; @@ -993,12 +993,12 @@ SymbolFile *Module::GetSymbolFile(bool can_create, Stream *feedback_strm) { if (!m_did_load_symfile.load()) { std::lock_guard guard(m_mutex); if (!m_did_load_symfile.load() && can_create) { - Debugger::DebuggerList interruptors - = DebuggersOwningModuleRequestingInterruption(*this); + Debugger::DebuggerList interruptors = + DebuggersOwningModuleRequestingInterruption(*this); if (!interruptors.empty()) { for (auto debugger_sp : interruptors) { - REPORT_INTERRUPTION(*(debugger_sp.get()), - "Interrupted fetching symbols for module {0}", + REPORT_INTERRUPTION(*(debugger_sp.get()), + "Interrupted fetching symbols for module {0}", this->GetFileSpec()); } return nullptr; -- cgit v1.2.3