[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-25 Thread Felipe de Azevedo Piovezan via lldb-commits
felipepiovezan wrote: In order to preserve the two separate commits (and not squash them) I've merged this into two separate PRs: https://github.com/llvm/llvm-project/pull/132905 https://github.com/llvm/llvm-project/pull/132906 So I'll close this now. https://github.com/llvm/llvm-project/pull/

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-25 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan closed https://github.com/llvm/llvm-project/pull/132734 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread via lldb-commits
@@ -79,34 +136,124 @@ class ThreadMemory : public lldb_private::Thread { } bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { -// printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), -// thread_sp->GetID()); m_backing_thread_sp =

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread via lldb-commits
@@ -79,34 +136,124 @@ class ThreadMemory : public lldb_private::Thread { } bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { -// printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), -// thread_sp->GetID()); m_backing_thread_sp =

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread Med Ismail Bennani via lldb-commits
@@ -38,23 +38,82 @@ class ThreadMemory : public lldb_private::Thread { } const char *GetName() override { -if (!m_name.empty()) - return m_name.c_str(); if (m_backing_thread_sp) return m_backing_thread_sp->GetName(); return nullptr; } cons

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread Med Ismail Bennani via lldb-commits
@@ -79,34 +136,124 @@ class ThreadMemory : public lldb_private::Thread { } bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { -// printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), -// thread_sp->GetID()); m_backing_thread_sp =

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread via lldb-commits
@@ -13,14 +13,14 @@ #include "lldb/Target/Thread.h" +/// A memory thread optionally backed by a real thread. +/// All methods of this class dispatch to the real thread, if it is not null. +/// Otherwise the methods are no-op. jimingham wrote: This isn't 100%

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread via lldb-commits
@@ -79,34 +136,124 @@ class ThreadMemory : public lldb_private::Thread { } bool SetBackingThread(const lldb::ThreadSP &thread_sp) override { -// printf ("Thread 0x%llx is being backed by thread 0x%llx\n", GetID(), -// thread_sp->GetID()); m_backing_thread_sp =

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Felipe de Azevedo Piovezan (felipepiovezan) Changes Please read the two commit messages individually. --- Full diff: https://github.com/llvm/llvm-project/pull/132734.diff 3 Files Affected: - (modified) lldb/source/Plugins/OperatingSyste

[Lldb-commits] [lldb] [lldb] Fix missing overloads in ThreadMemory (PR #132734)

2025-03-24 Thread Felipe de Azevedo Piovezan via lldb-commits
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/132734 Please read the two commit messages individually. >From 00da78461321b019303ddffcec5620859829cd40 Mon Sep 17 00:00:00 2001 From: Felipe de Azevedo Piovezan Date: Thu, 20 Mar 2025 14:59:33 -0300 Subject: [