Print a DWARF expression in a compact, user‐oriented format.
Synopsis
Declared in <llvm/DebugInfo/DWARF/DWARFExpressionPrinter.h>
bool
printDwarfExpressionCompact(
DWARFExpression const* E,
raw_ostream& OS,
std::function<StringRef(uint64_t, bool)> GetNameForDWARFReg = nullptr);
Description
The format is intended to be compact and useful to a user, but not perfectly unambiguous, or capable of representing every valid DWARF expression.
Return Value
true if the expression was successfully printed
Parameters
Name |
Description |
E |
to be printed |
OS |
to this stream |
GetNameForDWARFReg |
side‐effect‐free callback to return a target register name, or an empty string if none is available. The printer may try another name‐resolution method before reporting failure. |
Created with MrDocs