[Lldb-commits] [lldb] [lldb][NFC] Add documentation for OperatingSystem methods (PR #210968)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 21 05:39:43 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Felipe de Azevedo Piovezan (felipepiovezan)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/210968.diff
1 Files Affected:
- (modified) lldb/include/lldb/Target/OperatingSystem.h (+2)
``````````diff
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/210968
More information about the lldb-commits
mailing list