[Lldb-commits] [lldb] [lldb][NFC] Add documentation for OperatingSystem methods (PR #210968)
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 21 05:38:59 PDT 2026
https://github.com/felipepiovezan created https://github.com/llvm/llvm-project/pull/210968
None
>From 4a2dcd3d310f1afdd17e270ee6b6f3c22fac6de5 Mon Sep 17 00:00:00 2001
From: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: Tue, 21 Jul 2026 10:17:02 +0100
Subject: [PATCH] [lldb][NFC] Add documentation for OperatingSystem methods
---
lldb/include/lldb/Target/OperatingSystem.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lldb/include/lldb/Target/OperatingSystem.h b/lldb/include/lldb/Target/OperatingSystem.h
index 128239569790f..df798c47730f3 100644
--- a/lldb/include/lldb/Target/OperatingSystem.h
+++ b/lldb/include/lldb/Target/OperatingSystem.h
@@ -49,10 +49,12 @@ class OperatingSystem : public PluginInterface {
virtual void ThreadWasSelected(Thread *thread) = 0;
+ /// Given a thread without a backing thread, create a register context for it.
virtual lldb::RegisterContextSP
CreateRegisterContextForThread(Thread *thread,
lldb::addr_t reg_data_addr) = 0;
+ /// Given a thread without a backing thread, create a stop reason for it.
virtual lldb::StopInfoSP CreateThreadStopReason(Thread *thread) = 0;
virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) {
More information about the lldb-commits
mailing list