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
45
46
47
48
49
| /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Property definitions for LLDB. *|
|* *|
|* Automatically generated file, do not edit! *|
|* *|
\*===----------------------------------------------------------------------===*/
// Property definitions for debugger
#ifdef LLDB_PROPERTIES_debugger
static constexpr PropertyDefinition g_debugger_properties[] = {
{"auto-confirm", OptionValue::eTypeBoolean, true, 0, nullptr, {}, "If true all confirmation prompts will receive their default reply."},
{"auto-indent", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "If true, LLDB will auto indent/outdent code. Currently only supported in the REPL (default: true)."},
{"auto-one-line-summaries", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "If true, LLDB will automatically display small structs in one-liner format (default: true)."},
{"disassembly-format", OptionValue::eTypeFormatEntity, true, 0, "{${function.initial-function}{${module.file.basename}`}{${function.name-without-args}}:\\n}{${function.changed}\\n{${module.file.basename}`}{${function.name-without-args}}:\\n}{${current-pc-arrow} }${addr-file-or-load}{ <${function.concrete-only-addr-offset-no-padding}>}: ", {}, "The default disassembly format string to use when disassembling instruction sequences."},
{"escape-non-printables", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "If true, LLDB will automatically escape non-printable and escape characters when formatting strings."},
{"frame-format", OptionValue::eTypeFormatEntity, true, 0, "frame #${frame.index}: ${ansi.fg.yellow}${frame.pc}${ansi.normal}{ ${module.file.basename}{`${function.name-with-args}{${frame.no-debug}${function.pc-offset}}}}{ at ${ansi.fg.cyan}${line.file.basename}${ansi.normal}:${ansi.fg.yellow}${line.number}${ansi.normal}{:${ansi.fg.yellow}${line.column}${ansi.normal}}}{${function.is-optimized} [opt]}{${frame.is-artificial} [artificial]}\\n", {}, "The default frame format string to use when displaying stack frame information for threads."},
{"frame-format-unique", OptionValue::eTypeFormatEntity, true, 0, "frame #${frame.index}: ${ansi.fg.yellow}${frame.pc}${ansi.normal}{ ${module.file.basename}{`${function.name-without-args}{${frame.no-debug}${function.pc-offset}}}}{ at ${ansi.fg.cyan}${line.file.basename}${ansi.normal}:${ansi.fg.yellow}${line.number}${ansi.normal}{:${ansi.fg.yellow}${line.column}${ansi.normal}}}{${function.is-optimized} [opt]}{${frame.is-artificial} [artificial]}\\n", {}, "The default frame format string to use when displaying stack frameinformation for threads from thread backtrace unique."},
{"highlight-source", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "If true, LLDB will highlight the displayed source code."},
{"notify-void", OptionValue::eTypeBoolean, true, 0, nullptr, {}, "Notify the user explicitly if an expression returns void (default: false)."},
{"print-decls", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "If true, LLDB will print the values of variables declared in an expression. Currently only supported in the REPL (default: true)."},
{"prompt", OptionValue::eTypeString, true, OptionValueString::eOptionEncodeCharacterEscapeSequences, "(lldb) ", {}, "The debugger command line prompt displayed for the user."},
{"script-lang", OptionValue::eTypeEnum, true, eScriptLanguagePython, nullptr, OptionEnumValues(g_language_enumerators), "The script language to be used for evaluating user-written scripts."},
{"stop-disassembly-count", OptionValue::eTypeSInt64, true, 4, nullptr, {}, "The number of disassembly lines to show when displaying a stopped context."},
{"stop-disassembly-display", OptionValue::eTypeEnum, true, Debugger::eStopDisassemblyTypeNoDebugInfo, nullptr, OptionEnumValues(g_show_disassembly_enum_values), "Control when to display disassembly when displaying a stopped context."},
{"stop-line-count-after", OptionValue::eTypeSInt64, true, 3, nullptr, {}, "The number of sources lines to display that come after the current source line when displaying a stopped context."},
{"stop-line-count-before", OptionValue::eTypeSInt64, true, 3, nullptr, {}, "The number of sources lines to display that come before the current source line when displaying a stopped context."},
{"stop-show-column", OptionValue::eTypeEnum, false, eStopShowColumnAnsiOrCaret, nullptr, OptionEnumValues(s_stop_show_column_values), "If true, LLDB will use the column information from the debug info to mark the current position when displaying a stopped context."},
{"stop-show-column-ansi-prefix", OptionValue::eTypeString, true, 0, "${ansi.underline}", {}, "When displaying the column marker in a color-enabled (i.e. ANSI) terminal, use the ANSI terminal code specified in this format at the immediately before the column to be marked."},
{"stop-show-column-ansi-suffix", OptionValue::eTypeString, true, 0, "${ansi.normal}", {}, "When displaying the column marker in a color-enabled (i.e. ANSI) terminal, use the ANSI terminal code specified in this format immediately after the column to be marked."},
{"tab-size", OptionValue::eTypeUInt64, true, 4, nullptr, {}, "The tab size to use when indenting code in multi-line input mode (default: 4)."},
{"term-width", OptionValue::eTypeSInt64, true, 80, nullptr, {}, "The maximum number of columns to use for displaying text."},
{"thread-format", OptionValue::eTypeFormatEntity, true, 0, "thread #${thread.index}: tid = ${thread.id%tid}{, ${frame.pc}}{ ${module.file.basename}{`${function.name-with-args}{${frame.no-debug}${function.pc-offset}}}}{ at ${ansi.fg.cyan}${line.file.basename}${ansi.normal}:${ansi.fg.yellow}${line.number}${ansi.normal}{:${ansi.fg.yellow}${line.column}${ansi.normal}}}{, name = ${ansi.fg.green}'${thread.name}'${ansi.normal}}{, queue = ${ansi.fg.green}'${thread.queue}'${ansi.normal}}{, activity = ${ansi.fg.green}'${thread.info.activity.name}'${ansi.normal}}{, ${thread.info.trace_messages} messages}{, stop reason = ${ansi.fg.red}${thread.stop-reason}${ansi.normal}}{\\nReturn value: ${thread.return-value}}{\\nCompleted expression: ${thread.completed-expression}}\\n", {}, "The default thread format string to use when displaying thread information."},
{"thread-stop-format", OptionValue::eTypeFormatEntity, true, 0, "thread #${thread.index}{, name = '${thread.name}'}{, queue = ${ansi.fg.green}'${thread.queue}'${ansi.normal}}{, activity = ${ansi.fg.green}'${thread.info.activity.name}'${ansi.normal}}{, ${thread.info.trace_messages} messages}{, stop reason = ${ansi.fg.red}${thread.stop-reason}${ansi.normal}}{\\nReturn value: ${thread.return-value}}{\\nCompleted expression: ${thread.completed-expression}}\\n", {}, "The default thread format string to use when displaying thread information as part of the stop display."},
{"use-color", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "Whether to use Ansi color codes or not."},
{"use-external-editor", OptionValue::eTypeBoolean, true, 0, nullptr, {}, "Whether to use an external editor or not."},
};
#undef LLDB_PROPERTIES_debugger
#endif // debugger Property
// Property definitions for modulelist
#ifdef LLDB_PROPERTIES_modulelist
static constexpr PropertyDefinition g_modulelist_properties[] = {
{"clang-modules-cache-path", OptionValue::eTypeFileSpec, true, 0, "", {}, "The path to the clang modules cache directory (-fmodules-cache-path)."},
{"enable-external-lookup", OptionValue::eTypeBoolean, true, 1, nullptr, {}, "Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first for separate debug info files. Then depending on this setting: On macOS, Spotlight would be also used to locate a matching .dSYM bundle based on the UUID of the executable. On NetBSD, directory /usr/libdata/debug would be also searched. On platforms other than NetBSD directory /usr/lib/debug would be also searched."},
};
#undef LLDB_PROPERTIES_modulelist
#endif // modulelist Property
|