1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! (LLDB extension) Provide host information to the debugger.
//!
//! This allows for reporting key-value metadata, for example the target triple,
//! endianness, and pointer size.
//!
//! This corresponds to the `qHostInfo` command in the LLDB extensions.
use crateEndianness;
use crateTarget;
/// A response key-value pair to a [HostInfo::host_info] query.
///
/// A response consists of a list of key-value pairs, each of which is
/// represented by one instance of this enum.
///
/// The allowed responses are documented in the [LLDB extension documentation].
/// Not all supported responses are currently represented in this enum. If you
/// need another one, please feel free to send a PR!
///
/// [LLDB extension documentation]:
/// https://lldb.llvm.org/resources/lldbplatformpackets.html
/// (LLDB extension) Target Extension - Provide host information.
define_ext!;