LLVM 17.0.0git
Classes | Namespaces | Functions
DWARFFormValue.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/Support/DataExtractor.h"
#include <cstdint>
Include dependency graph for DWARFFormValue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::DWARFFormValue
 
struct  llvm::DWARFFormValue::UnitOffset
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::dwarf
 

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::toReference (const std::optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an reference.
 
uint64_t llvm::dwarf::toReference (const std::optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a 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::SectionedAddress > llvm::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.