/external/llvm/unittests/DebugInfo/ |
DWARFFormValueTest.cpp | 10 #include "llvm/DebugInfo/DWARFFormValue.h" 18 TEST(DWARFFormValue, FixedFormSizes) { 21 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); 23 sizes = DWARFFormValue::getFixedFormSizes(8, 2); 25 sizes = DWARFFormValue::getFixedFormSizes(8, 3); 28 EXPECT_EQ(0U, DWARFFormValue::getFixedFormSizes(16, 2).size()); 31 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { 32 return DWARFFormValue(Form).isFormClass(FC); 35 TEST(DWARFFormValue, FormClass) { 36 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)) [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFFormValue.cpp | 1 //===-- DWARFFormValue.cpp ------------------------------------------------===// 10 #include "llvm/DebugInfo/DWARFFormValue.h" 63 ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize, 77 static const DWARFFormValue::FormClass DWARF4FormClasses[] = { 78 DWARFFormValue::FC_Unknown, // 0x0 79 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr 80 DWARFFormValue::FC_Unknown, // 0x02 unused 81 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2 82 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4 83 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data [all...] |
DWARFDebugInfoEntry.cpp | 14 #include "llvm/DebugInfo/DWARFFormValue.h" 83 DWARFFormValue formValue(form); 112 ArrayRef<uint8_t> FixedFormSizes = DWARFFormValue::getFixedFormSizes( 124 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, U)) { 144 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { 160 DWARFFormValue::skipValue(AbbrevDecl->getFormByIndex(i), 164 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); 170 DWARFFormValue FormValue; 179 DWARFFormValue FormValue; 188 DWARFFormValue FormValue [all...] |
Android.mk | 16 DWARFFormValue.cpp \
|
DWARFDebugInfoEntry.h | 25 class DWARFFormValue; 90 DWARFFormValue &FormValue) const;
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
DWARFFormValue.h | 1 //===-- DWARFFormValue.h ----------------------------------------*- C++ -*-===// 17 class DWARFFormValue 47 DWARFFormValue(dw_form_t form = 0); 69 // static bool TransferValue(const DWARFFormValue& formValue, const DWARFCompileUnit* cu, BinaryStreamBuf& out_buff); 74 static int Compare (const DWARFFormValue& a, const DWARFFormValue& b, const DWARFCompileUnit* a_cu, const DWARFCompileUnit* b_cu, const lldb_private::DataExtractor* debug_str_data_ptr);
|
DWARFFormValue.cpp | 1 //===-- DWARFFormValue.cpp --------------------------------------*- C++ -*-===// 15 #include "DWARFFormValue.h" 100 DWARFFormValue::GetFixedFormSizesForAddressSize (uint8_t addr_size) 110 DWARFFormValue::DWARFFormValue(dw_form_t form) : 117 DWARFFormValue::ExtractValue(const DataExtractor& data, lldb::offset_t* offset_ptr, const DWARFCompileUnit* cu) 186 DWARFFormValue::SkipValue(const DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu) const 188 return DWARFFormValue::SkipValue(m_form, debug_info_data, offset_ptr, cu); 192 DWARFFormValue::SkipValue(dw_form_t form, const DataExtractor& debug_info_data, lldb::offset_t *offset_ptr, const DWARFCompileUnit* cu) 267 return DWARFFormValue::SkipValue (indirect_form [all...] |
Android.mk | 30 DWARFFormValue.cpp \
|
DWARFAbbreviationDeclaration.cpp | 14 #include "DWARFFormValue.h" 119 if (DWARFFormValue::IsBlockForm(form)) 164 DWARFFormValue::SkipValue(form, debug_info_data, &offset, cu);
|
DWARFDebugInfoEntry.cpp | 28 #include "DWARFFormValue.h" 89 DWARFDebugInfoEntry::Attributes::ExtractFormValueAtIndex (SymbolFileDWARF* dwarf2Data, uint32_t i, DWARFFormValue &form_value) const 108 DWARFFormValue form_value; 322 DWARFFormValue form_value(form); 545 // DWARFFormValue a_form_value; 546 // DWARFFormValue b_form_value; 575 // result = DWARFFormValue::Compare (a_form_value, b_form_value, a_cu, b_cu, &dwarf2Data->get_debug_str_data()); 626 // result = DWARFFormValue::Compare (a_form_value, b_form_value, a_cu, b_cu, debug_str_data_ptr); 782 DWARFFormValue form_value(form); [all...] |
DWARFDebugPubnames.cpp | 17 #include "DWARFFormValue.h" 89 const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (cu->GetAddressByteSize()); 118 DWARFFormValue form_value;
|
DWARFDebugInfoEntry.h | 71 bool ExtractFormValueAtIndex (SymbolFileDWARF* dwarf2Data, uint32_t i, DWARFFormValue &form_value) const; 173 DWARFFormValue& formValue,
|
SymbolFileDWARF.cpp | 62 #include "DWARFFormValue.h" [all...] |
HashedNameToDIE.h | 16 #include "DWARFFormValue.h" 445 DWARFFormValue form_value (header_data.atoms[i].form); 484 DWARFFormValue form_value (header_data.atoms[i].form); [all...] |
DWARFCompileUnit.cpp | 25 #include "DWARFFormValue.h" 195 const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (GetAddressByteSize()); 617 const uint8_t *fixed_form_sizes = DWARFFormValue::GetFixedFormSizesForAddressSize (GetAddressByteSize()); 675 DWARFFormValue form_value; [all...] |
SymbolFileDWARF.h | 60 class DWARFFormValue;
|
/external/llvm/include/llvm/DebugInfo/ |
DWARFFormValue.h | 1 //===-- DWARFFormValue.h ----------------------------------------*- C++ -*-===// 22 class DWARFFormValue { 55 DWARFFormValue(uint16_t Form = 0) : Form(Form) {} 67 /// DWARFFormValue has form class is suitable for representing Foo.
|