LLVM  4.0.0
Functions | Variables
DWARFFormValue.cpp File Reference
#include "SyntaxHighlighting.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/DebugInfo/DWARF/DWARFCompileUnit.h"
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <limits>
Include dependency graph for DWARFFormValue.cpp:

Go to the source code of this file.

Functions

template<class T >
static Optional< uint8_t > getFixedByteSize (dwarf::Form Form, const T *U)
 
template<class T >
static bool skipFormValue (dwarf::Form Form, const DataExtractor &DebugInfoData, uint32_t *OffsetPtr, const T *U)
 

Variables

static const
DWARFFormValue::FormClass 
DWARF4FormClasses []
 

Function Documentation

template<class T >
static Optional<uint8_t> getFixedByteSize ( dwarf::Form  Form,
const T U 
)
static

Definition at line 90 of file DWARFFormValue.cpp.

References llvm_unreachable, and llvm::None.

Referenced by llvm::DWARFFormValue::getFixedByteSize(), and skipFormValue().

template<class T >
static bool skipFormValue ( dwarf::Form  Form,
const DataExtractor DebugInfoData,
uint32_t OffsetPtr,
const T U 
)
static

Variable Documentation

const DWARFFormValue::FormClass DWARF4FormClasses[]
static
Initial value:
= {
DWARFFormValue::FC_Unknown,
DWARFFormValue::FC_Address,
DWARFFormValue::FC_Unknown,
DWARFFormValue::FC_Block,
DWARFFormValue::FC_Block,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_String,
DWARFFormValue::FC_Block,
DWARFFormValue::FC_Block,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_Flag,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_String,
DWARFFormValue::FC_Constant,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Reference,
DWARFFormValue::FC_Indirect,
DWARFFormValue::FC_SectionOffset,
DWARFFormValue::FC_Exprloc,
DWARFFormValue::FC_Flag,
}

Definition at line 26 of file DWARFFormValue.cpp.

Referenced by llvm::DWARFFormValue::isFormClass().