================
@@ -153,6 +153,30 @@ Classes that are related to a debug target include:
- ABI for function calling in process being debugged
- Execution context batons
+## Platform
+
+Platform classes are spread around the codebase, with the base `Platform` class
+in `Target`. Platforms provide functionality for managing the execution
+environment of targets. This environment may be the host machine, a remote
+machine, or a simulated environment that the platform launches on behalf of the
+user.
+
+`lldb-server` includes a "platform mode" which is not a `Platform` in itself.
+This mode implements a protocol used by many `Platform`s that manage a remote
+environment. See {doc}`/use/remote` for an example of how the `Platform`s in
+LLDB work together with `lldb-server`'s "platform mode".
+
+`Platform` features include:
+
+- Providing details about the environent, such as operating system
+ version.
+- Moving files to and from the environment.
----------------
bulbazord wrote:
You could also note that different protocols are supported (e.g. SSH, rsync,
etc)
https://github.com/llvm/llvm-project/pull/202332
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits