
This patch adds another frame-format variable (currently only implemented in the CPlusPlus language plugin) that represents the "suffix" of a function. The name is derived from the `DotSuffix` node of LLVM's Itanium demangler. For a function name such as `int foo() (.cold)`, the suffix would be `(.cold)`.
9 lines
542 B
TableGen
9 lines
542 B
TableGen
include "../../../../include/lldb/Core/PropertiesBase.td"
|
|
|
|
let Definition = "language_cplusplus" in {
|
|
def FunctionNameFormat: Property<"function-name-format", "FormatEntity">,
|
|
Global,
|
|
DefaultStringValue<"${function.return-left}${function.scope}${ansi.fg.yellow}${function.basename}${ansi.normal}${function.template-arguments}${function.formatted-arguments}${function.return-right}${function.qualifiers}${function.suffix}">,
|
|
Desc<"C++ specific frame format string to use when displaying stack frame information for threads.">;
|
|
}
|