LLVM  6.0.0svn
Classes | Namespaces | Functions
DWARFFormValue.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/Optional.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFDataExtractor.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

struct  llvm::DWARFFormParams
 A helper struct for DWARFFormValue methods, providing information that allows it to know the byte size of DW_FORM values that vary in size depending on the DWARF version, address byte size, or DWARF32/DWARF64. More...
 
class  llvm::DWARFFormValue
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::dwarf
 

Functions

Optional< const char * > llvm::dwarf::toString (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract a string value from it. More...
 
const charllvm::dwarf::toString (const Optional< DWARFFormValue > &V, const char *Default)
 Take an optional DWARFFormValue and extract a string value from it. More...
 
Optional< uint64_t > llvm::dwarf::toUnsigned (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an unsigned constant. More...
 
uint64_t llvm::dwarf::toUnsigned (const Optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a unsigned constant. More...
 
Optional< uint64_t > llvm::dwarf::toReference (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an reference. More...
 
uint64_t llvm::dwarf::toReference (const Optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a reference. More...
 
Optional< int64_t > llvm::dwarf::toSigned (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an signed constant. More...
 
int64_t llvm::dwarf::toSigned (const Optional< DWARFFormValue > &V, int64_t Default)
 Take an optional DWARFFormValue and extract a signed integer. More...
 
Optional< uint64_t > llvm::dwarf::toAddress (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an address. More...
 
uint64_t llvm::dwarf::toAddress (const Optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a address. More...
 
Optional< uint64_t > llvm::dwarf::toSectionOffset (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract an section offset. More...
 
uint64_t llvm::dwarf::toSectionOffset (const Optional< DWARFFormValue > &V, uint64_t Default)
 Take an optional DWARFFormValue and extract a section offset. More...
 
Optional< ArrayRef< uint8_t > > llvm::dwarf::toBlock (const Optional< DWARFFormValue > &V)
 Take an optional DWARFFormValue and try to extract block data. More...