ΒΆinline const char* toString(
const Optional<llvm::DWARFFormValue>& V,
const char* Default)
inline const char* toString(
const Optional<llvm::DWARFFormValue>& V,
const char* Default)
Description
Take an optional DWARFFormValue and extract a string value from it.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h:186
Parameters
- const Optional<llvm::DWARFFormValue>& V
- and optional DWARFFormValue to attempt to extract the value from.
- const char* Default
- the default value to return in case of failure.
Returns
the string value or Default if the V doesn't have a value or the form value's encoding wasn't a string.