ΒΆinline Optional<int64_t> toSigned(
const Optional<llvm::DWARFFormValue>& V)
inline Optional<int64_t> toSigned(
const Optional<llvm::DWARFFormValue>& V)
Description
Take an optional DWARFFormValue and try to extract an signed constant.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h:240
Parameters
- const Optional<llvm::DWARFFormValue>& V
- and optional DWARFFormValue to attempt to extract the value from.
Returns
an optional value that contains a value if the form value was valid and has a signed constant form.