LLVM 18.0.0git
|
#include "llvm/ADT/ArrayRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/Support/DataExtractor.h"
#include <cstdint>
Go to the source code of this file.
Classes | |
class | llvm::DWARFFormValue |
struct | llvm::DWARFFormValue::ValueType |
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 char * | llvm::dwarf::toString (const std::optional< DWARFFormValue > &V, const char *Default) |
Take an optional DWARFFormValue and extract a string value from it. | |
std::optional< uint64_t > | llvm::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_t > | llvm::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_t > | llvm::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_t > | llvm::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. | |
bool | llvm::dwarf::doesFormBelongToClass (dwarf::Form Form, DWARFFormValue::FormClass FC, uint16_t DwarfVersion) |
Check whether specified Form belongs to the FC class. | |