| /llvm-project-15.0.7/lldb/include/lldb/Host/ |
| H A D | ThreadLauncher.h | 31 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 D | tsan_report.cpp | 55 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 D | tsan_report.cpp | 55 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 D | ProcessFreeBSDKernel.cpp | 212 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 D | ThreadFreeBSDKernel.cpp | 28 std::string thread_name) in ThreadFreeBSDKernel() argument 29 : Thread(process, tid), m_thread_name(std::move(thread_name)), in ThreadFreeBSDKernel()
|
| H A D | ThreadFreeBSDKernel.h | 17 lldb::addr_t pcb_addr, std::string thread_name);
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | QueueItem.h | 122 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 D | TestLinuxCore.py | 612 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 D | ScriptedThread.cpp | 87 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 D | MemoryHistoryASan.cpp | 97 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 D | Host.cpp | 104 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 D | HostNativeThreadBase.cpp | 57 llvm::set_thread_name(info_up->thread_name); in ThreadCreateTrampoline()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/breakpoint_names/ |
| H A D | TestBreakpointNames.py | 85 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 D | Log.cpp | 326 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 D | SBBreakpointLocation.cpp | 336 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 D | SBBreakpointName.cpp | 404 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 D | BreakpointLocation.cpp | 146 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 D | SBBreakpointName.i | 77 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpointLocation.i | 118 SetThreadName (const char *thread_name);
|
| /llvm-project-15.0.7/lldb/include/lldb/API/ |
| H A D | SBBreakpointLocation.h | 75 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpointName.h | 76 void SetThreadName(const char *thread_name);
|
| H A D | SBBreakpoint.h | 87 void SetThreadName(const char *thread_name);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | DebuggerThread.cpp | 373 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 D | Communication.cpp | 210 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 D | BreakpointLocation.h | 150 void SetThreadName(const char *thread_name);
|