LLVM 22.0.0git
DWARFFormValue.h File Reference

Go to the source code of this file.

Classes

class  llvm::DWARFFormValue
struct  llvm::DWARFFormValue::ValueType

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::dwarf
 Calculates the starting offsets for various sections within the .debug_names section.

Functions

std::optional< const char * > llvm::dwarf::toString (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract a string value from it.
StringRef llvm::dwarf::toStringRef (const std::optional< DWARFFormValue > &V, StringRef Default={})
 Take an optional DWARFFormValue and try to extract a string value from it.
const charllvm::dwarf::toString (const std::optional< DWARFFormValue > &V, const char *Default)
 Take an optional DWARFFormValue and extract a string value from it.
std::optional< uint64_tllvm::dwarf::toUnsigned (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an unsigned constant.
uint64_t llvm::dwarf::toUnsigned (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a unsigned constant.
std::optional< uint64_tllvm::dwarf::toRelativeReference (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract a relative offset reference.
uint64_t llvm::dwarf::toRelativeReference (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a relative offset reference.
std::optional< uint64_tllvm::dwarf::toDebugInfoReference (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an absolute debug info offset reference.
uint64_t llvm::dwarf::toDebugInfoReference (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract an absolute debug info offset reference.
std::optional< uint64_tllvm::dwarf::toSignatureReference (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract a signature reference.
uint64_t llvm::dwarf::toSignatureReference (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a signature reference.
std::optional< uint64_tllvm::dwarf::toSupplementaryReference (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract a supplementary debug info reference.
uint64_t llvm::dwarf::toSupplementaryReference (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a supplementary debug info reference.
std::optional< int64_t > llvm::dwarf::toSigned (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an signed constant.
int64_t llvm::dwarf::toSigned (const std::optional< DWARFFormValue > &V, int64_t Default)
 Take an optional DWARFFormValue and extract a signed integer.
std::optional< uint64_tllvm::dwarf::toAddress (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an address.
std::optional< object::SectionedAddressllvm::dwarf::toSectionedAddress (const std::optional< DWARFFormValue > &V)
uint64_t llvm::dwarf::toAddress (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a address.
std::optional< uint64_tllvm::dwarf::toSectionOffset (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an section offset.
uint64_t llvm::dwarf::toSectionOffset (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a section offset.
std::optional< ArrayRef< uint8_t > > llvm::dwarf::toBlock (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract block data.
LLVM_ABI bool llvm::dwarf::doesFormBelongToClass (dwarf::Form Form, DWARFFormValue::FormClass FC, uint16_t DwarfVersion)
 Check whether specified Form belongs to the FC class.