Home
last modified time | relevance | path

Searched refs:thread_name (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DThreadLauncher.h31 std::string thread_name; member
34 HostThreadCreateInfo(std::string thread_name, in HostThreadCreateInfo()
36 : thread_name(std::move(thread_name)), impl(std::move(impl)) {} in HostThreadCreateInfo()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_report.cpp55 const char *thread_name(char *buf, Tid tid) { in thread_name() function
153 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
160 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
190 thread_name(thrbuf, loc->tid)); in PrintLocation()
195 thread_name(thrbuf, loc->tid)); in PrintLocation()
199 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
201 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
204 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation()
257 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
330 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cpp55 const char *thread_name(char *buf, Tid tid) { in thread_name() function
153 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
160 (void *)mop->addr, thread_name(thrbuf, mop->tid)); in PrintMop()
190 thread_name(thrbuf, loc->tid)); in PrintLocation()
195 thread_name(thrbuf, loc->tid)); in PrintLocation()
199 Printf(" Location is stack of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
201 Printf(" Location is TLS of %s.\n\n", thread_name(thrbuf, loc->tid)); in PrintLocation()
204 loc->fd, thread_name(thrbuf, loc->tid)); in PrintLocation()
251 thread_name(thrbuf, rt->parent_tid)); in PrintThread()
327 Printf("%s:\n", thread_name(thrbuf, rep->unique_tids[i])); in PrintReport()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp212 char thread_name[fbsd_maxcomlen + 1]; in DoUpdateThreadList() local
213 ReadCStringFromMemory(td + offset_td_name, thread_name, in DoUpdateThreadList()
214 sizeof(thread_name), error); in DoUpdateThreadList()
221 if (*thread_name && strcmp(thread_name, comm)) { in DoUpdateThreadList()
223 thread_desc += thread_name; in DoUpdateThreadList()
H A DThreadFreeBSDKernel.cpp28 std::string thread_name) in ThreadFreeBSDKernel() argument
29 : Thread(process, tid), m_thread_name(std::move(thread_name)), in ThreadFreeBSDKernel()
H A DThreadFreeBSDKernel.h17 lldb::addr_t pcb_addr, std::string thread_name);
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DQueueItem.h122 void SetThreadLabel(std::string thread_name) { m_thread_label = thread_name; } in SetThreadLabel() argument
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/elf-core/
H A DTestLinuxCore.py612 def check_stack(self, process, pid, thread_name): argument
616 self.assertEqual(thread.GetName(), thread_name)
629 def check_all(self, process, pid, region_count, thread_name): argument
636 self.check_stack(process, pid, thread_name)
640 def do_test(self, filename, pid, region_count, thread_name): argument
644 self.check_all(process, pid, region_count, thread_name)
/llvm-project-15.0.7/lldb/source/Plugins/Process/scripted/
H A DScriptedThread.cpp87 llvm::Optional<std::string> thread_name = GetInterface()->GetName(); in GetName() local
88 if (!thread_name) in GetName()
90 return ConstString(thread_name->c_str()).AsCString(); in GetName()
/llvm-project-15.0.7/lldb/source/Plugins/MemoryHistory/asan/
H A DMemoryHistoryASan.cpp97 const char *thread_name, in CreateHistoryThreadFromValueObject() argument
139 thread_name_with_number << thread_name << " Thread " << tid; in CreateHistoryThreadFromValueObject()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DHost.cpp104 char thread_name[256]; in StartMonitoringChildProcess() local
105 ::snprintf(thread_name, sizeof(thread_name), in StartMonitoringChildProcess()
108 return ThreadLauncher::LaunchThread(thread_name, [pid, callback] { in StartMonitoringChildProcess()
H A DHostNativeThreadBase.cpp57 llvm::set_thread_name(info_up->thread_name); in ThreadCreateTrampoline()
/llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_names/
H A DTestBreakpointNames.py85 self.thread_name = "Fooey"
193 self.assertEqual(bp_object.GetThreadName(), self.thread_name, "Thread Name")
223 bp_name.SetThreadName(self.thread_name)
268 self.thread_name,
/llvm-project-15.0.7/lldb/source/Utility/
H A DLog.cpp326 llvm::SmallString<32> thread_name; in WriteHeader() local
327 llvm::get_thread_name(thread_name); in WriteHeader()
331 format_os << "{0,-" << llvm::alignTo<16>(thread_name.size()) << "} "; in WriteHeader()
332 OS << llvm::formatv(format_str.c_str(), thread_name); in WriteHeader()
/llvm-project-15.0.7/lldb/source/API/
H A DSBBreakpointLocation.cpp336 void SBBreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument
337 LLDB_INSTRUMENT_VA(this, thread_name); in SetThreadName()
343 loc_sp->SetThreadName(thread_name); in SetThreadName()
H A DSBBreakpointName.cpp404 void SBBreakpointName::SetThreadName(const char *thread_name) { in SetThreadName() argument
405 LLDB_INSTRUMENT_VA(this, thread_name); in SetThreadName()
414 bp_name->GetOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp146 void BreakpointLocation::SetThreadName(const char *thread_name) { in SetThreadName() argument
147 if (thread_name != nullptr) in SetThreadName()
148 GetLocationOptions().GetThreadSpec()->SetName(thread_name); in SetThreadName()
153 m_options_up->GetThreadSpec()->SetName(thread_name); in SetThreadName()
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBBreakpointName.i77 void SetThreadName(const char *thread_name);
H A DSBBreakpointLocation.i118 SetThreadName (const char *thread_name);
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBBreakpointLocation.h75 void SetThreadName(const char *thread_name);
H A DSBBreakpointName.h76 void SetThreadName(const char *thread_name);
H A DSBBreakpoint.h87 void SetThreadName(const char *thread_name);
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DDebuggerThread.cpp373 std::string thread_name; in HandleCreateProcessEvent() local
374 llvm::raw_string_ostream name_stream(thread_name); in HandleCreateProcessEvent()
377 llvm::set_thread_name(thread_name); in HandleCreateProcessEvent()
/llvm-project-15.0.7/lldb/source/Core/
H A DCommunication.cpp210 const std::string thread_name = in StartReadThread() local
216 thread_name, [this] { return ReadThread(); }); in StartReadThread()
/llvm-project-15.0.7/lldb/include/lldb/Breakpoint/
H A DBreakpointLocation.h150 void SetThreadName(const char *thread_name);

12