Home | History | Annotate | Download | only in DWARF

Lines Matching refs:DWARFFormValue

1 //===-- DWARFFormValue.cpp ------------------------------------------------===//
15 #include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
66 ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize,
80 static const DWARFFormValue::FormClass DWARF4FormClasses[] = {
81 DWARFFormValue::FC_Unknown, // 0x0
82 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr
83 DWARFFormValue::FC_Unknown, // 0x02 unused
84 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2
85 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4
86 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2
88 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4
89 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8
91 DWARFFormValue::FC_String, // 0x08 DW_FORM_string
92 DWARFFormValue::FC_Block, // 0x09 DW_FORM_block
93 DWARFFormValue::FC_Block, // 0x0a DW_FORM_block1
94 DWARFFormValue::FC_Constant, // 0x0b DW_FORM_data1
95 DWARFFormValue::FC_Flag, // 0x0c DW_FORM_flag
96 DWARFFormValue::FC_Constant, // 0x0d DW_FORM_sdata
97 DWARFFormValue::FC_String, // 0x0e DW_FORM_strp
98 DWARFFormValue::FC_Constant, // 0x0f DW_FORM_udata
99 DWARFFormValue::FC_Reference, // 0x10 DW_FORM_ref_addr
100 DWARFFormValue::FC_Reference, // 0x11 DW_FORM_ref1
101 DWARFFormValue::FC_Reference, // 0x12 DW_FORM_ref2
102 DWARFFormValue::FC_Reference, // 0x13 DW_FORM_ref4
103 DWARFFormValue::FC_Reference, // 0x14 DW_FORM_ref8
104 DWARFFormValue::FC_Reference, // 0x15 DW_FORM_ref_udata
105 DWARFFormValue::FC_Indirect, // 0x16 DW_FORM_indirect
106 DWARFFormValue::FC_SectionOffset, // 0x17 DW_FORM_sec_offset
107 DWARFFormValue::FC_Exprloc, // 0x18 DW_FORM_exprloc
108 DWARFFormValue::FC_Flag, // 0x19 DW_FORM_flag_present
111 bool DWARFFormValue::isFormClass(DWARFFormValue::FormClass FC) const {
134 bool DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr,
256 DWARFFormValue::skipValue(DataExtractor debug_info_data, uint32_t* offset_ptr,
258 return DWARFFormValue::skipValue(Form, debug_info_data, offset_ptr, cu);
262 DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data,
267 bool DWARFFormValue::skipValue(uint16_t form, DataExtractor debug_info_data,
371 DWARFFormValue::dump(raw_ostream &OS, const DWARFUnit *cu) const {
495 void DWARFFormValue::dumpString(raw_ostream &OS, const DWARFUnit *U) const {
505 Optional<const char *> DWARFFormValue::getAsCString(const DWARFUnit *U) const {
526 Optional<uint64_t> DWARFFormValue::getAsAddress(const DWARFUnit *U) const {
539 Optional<uint64_t> DWARFFormValue::getAsReference(const DWARFUnit *U) const {
559 Optional<uint64_t> DWARFFormValue::getAsSectionOffset() const {
565 Optional<uint64_t> DWARFFormValue::getAsUnsignedConstant() const {
572 Optional<int64_t> DWARFFormValue::getAsSignedConstant() const {
590 Optional<ArrayRef<uint8_t>> DWARFFormValue::getAsBlock() const {