• Home
  • Raw
  • Download

Lines Matching refs:dwarf

54   DU.addUInt(DIE, dwarf::DW_FORM_data1, Op);  in EmitOp()
57 DU.addSInt(DIE, dwarf::DW_FORM_sdata, Value); in EmitSigned()
60 DU.addUInt(DIE, dwarf::DW_FORM_udata, Value); in EmitUnsigned()
66 DwarfUnit::DwarfUnit(unsigned UID, dwarf::Tag UnitTag, in DwarfUnit()
72 assert(UnitTag == dwarf::DW_TAG_compile_unit || in DwarfUnit()
73 UnitTag == dwarf::DW_TAG_type_unit); in DwarfUnit()
79 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), in DwarfTypeUnit()
82 addSectionOffset(UnitDie, dwarf::DW_AT_stmt_list, 0); in DwarfTypeUnit()
97 case dwarf::DW_LANG_C89: in getDefaultLowerBound()
98 case dwarf::DW_LANG_C99: in getDefaultLowerBound()
99 case dwarf::DW_LANG_C: in getDefaultLowerBound()
100 case dwarf::DW_LANG_C_plus_plus: in getDefaultLowerBound()
101 case dwarf::DW_LANG_ObjC: in getDefaultLowerBound()
102 case dwarf::DW_LANG_ObjC_plus_plus: in getDefaultLowerBound()
105 case dwarf::DW_LANG_Fortran77: in getDefaultLowerBound()
106 case dwarf::DW_LANG_Fortran90: in getDefaultLowerBound()
107 case dwarf::DW_LANG_Fortran95: in getDefaultLowerBound()
111 case dwarf::DW_LANG_Java: in getDefaultLowerBound()
112 case dwarf::DW_LANG_Python: in getDefaultLowerBound()
113 case dwarf::DW_LANG_UPC: in getDefaultLowerBound()
114 case dwarf::DW_LANG_D: in getDefaultLowerBound()
115 if (dwarf::DWARF_VERSION >= 4) in getDefaultLowerBound()
119 case dwarf::DW_LANG_Ada83: in getDefaultLowerBound()
120 case dwarf::DW_LANG_Ada95: in getDefaultLowerBound()
121 case dwarf::DW_LANG_Cobol74: in getDefaultLowerBound()
122 case dwarf::DW_LANG_Cobol85: in getDefaultLowerBound()
123 case dwarf::DW_LANG_Modula2: in getDefaultLowerBound()
124 case dwarf::DW_LANG_Pascal83: in getDefaultLowerBound()
125 case dwarf::DW_LANG_PLI: in getDefaultLowerBound()
126 if (dwarf::DWARF_VERSION >= 4) in getDefaultLowerBound()
131 case dwarf::DW_LANG_OpenCL: in getDefaultLowerBound()
132 case dwarf::DW_LANG_Go: in getDefaultLowerBound()
133 case dwarf::DW_LANG_Haskell: in getDefaultLowerBound()
134 case dwarf::DW_LANG_C_plus_plus_03: in getDefaultLowerBound()
135 case dwarf::DW_LANG_C_plus_plus_11: in getDefaultLowerBound()
136 case dwarf::DW_LANG_OCaml: in getDefaultLowerBound()
137 case dwarf::DW_LANG_Rust: in getDefaultLowerBound()
138 case dwarf::DW_LANG_C11: in getDefaultLowerBound()
139 case dwarf::DW_LANG_Swift: in getDefaultLowerBound()
140 case dwarf::DW_LANG_Dylan: in getDefaultLowerBound()
141 case dwarf::DW_LANG_C_plus_plus_14: in getDefaultLowerBound()
142 if (dwarf::DWARF_VERSION >= 5) in getDefaultLowerBound()
146 case dwarf::DW_LANG_Modula3: in getDefaultLowerBound()
147 case dwarf::DW_LANG_Julia: in getDefaultLowerBound()
148 case dwarf::DW_LANG_Fortran03: in getDefaultLowerBound()
149 case dwarf::DW_LANG_Fortran08: in getDefaultLowerBound()
150 if (dwarf::DWARF_VERSION >= 5) in getDefaultLowerBound()
186 void DwarfUnit::addFlag(DIE &Die, dwarf::Attribute Attribute) { in addFlag()
188 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag_present, in addFlag()
191 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_flag, in addFlag()
195 void DwarfUnit::addUInt(DIEValueList &Die, dwarf::Attribute Attribute, in addUInt()
196 Optional<dwarf::Form> Form, uint64_t Integer) { in addUInt()
202 void DwarfUnit::addUInt(DIEValueList &Block, dwarf::Form Form, in addUInt()
204 addUInt(Block, (dwarf::Attribute)0, Form, Integer); in addUInt()
207 void DwarfUnit::addSInt(DIEValueList &Die, dwarf::Attribute Attribute, in addSInt()
208 Optional<dwarf::Form> Form, int64_t Integer) { in addSInt()
214 void DwarfUnit::addSInt(DIELoc &Die, Optional<dwarf::Form> Form, in addSInt()
216 addSInt(Die, (dwarf::Attribute)0, Form, Integer); in addSInt()
219 void DwarfUnit::addString(DIE &Die, dwarf::Attribute Attribute, in addString()
222 isDwoUnit() ? dwarf::DW_FORM_GNU_str_index : dwarf::DW_FORM_strp, in addString()
227 dwarf::Attribute Attribute, in addLabel()
228 dwarf::Form Form, in addLabel()
233 void DwarfUnit::addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) { in addLabel()
234 addLabel(Die, (dwarf::Attribute)0, Form, Label); in addLabel()
237 void DwarfUnit::addSectionOffset(DIE &Die, dwarf::Attribute Attribute, in addSectionOffset()
240 addUInt(Die, Attribute, dwarf::DW_FORM_sec_offset, Integer); in addSectionOffset()
242 addUInt(Die, Attribute, dwarf::DW_FORM_data4, Integer); in addSectionOffset()
252 addUInt(Die, dwarf::DW_FORM_data1, dwarf::DW_OP_addr); in addOpAddress()
253 addLabel(Die, dwarf::DW_FORM_udata, Sym); in addOpAddress()
255 addUInt(Die, dwarf::DW_FORM_data1, dwarf::DW_OP_GNU_addr_index); in addOpAddress()
256 addUInt(Die, dwarf::DW_FORM_GNU_addr_index, in addOpAddress()
261 void DwarfUnit::addLabelDelta(DIE &Die, dwarf::Attribute Attribute, in addLabelDelta()
263 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_data4, in addLabelDelta()
267 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, DIE &Entry) { in addDIEEntry()
276 addFlag(Die, dwarf::DW_AT_declaration); in addDIETypeSignature()
278 Die.addValue(DIEValueAllocator, dwarf::DW_AT_signature, in addDIETypeSignature()
279 dwarf::DW_FORM_ref_sig8, DIETypeSignature(Type)); in addDIETypeSignature()
282 void DwarfUnit::addDIETypeSignature(DIE &Die, dwarf::Attribute Attribute, in addDIETypeSignature()
285 Die.addValue(DIEValueAllocator, Attribute, dwarf::DW_FORM_ref_sig8, in addDIETypeSignature()
289 void DwarfUnit::addDIEEntry(DIE &Die, dwarf::Attribute Attribute, in addDIEEntry()
299 EntryCU == DieCU ? dwarf::DW_FORM_ref4 : dwarf::DW_FORM_ref_addr, in addDIEEntry()
304 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, (dwarf::Tag)Tag)); in createAndAddDIE()
310 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, DIELoc *Loc) { in addBlock()
317 void DwarfUnit::addBlock(DIE &Die, dwarf::Attribute Attribute, in addBlock()
331 addUInt(Die, dwarf::DW_AT_decl_file, None, FileID); in addSourceLine()
332 addUInt(Die, dwarf::DW_AT_decl_line, None, Line); in addSourceLine()
438 dwarf::Attribute Attribute, in addBlockByrefAddress()
447 if (Tag == dwarf::DW_TAG_pointer_type) { in addBlockByrefAddress()
488 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_deref); in addBlockByrefAddress()
494 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst); in addBlockByrefAddress()
495 addUInt(*Loc, dwarf::DW_FORM_udata, forwardingFieldOffset); in addBlockByrefAddress()
500 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_deref); in addBlockByrefAddress()
506 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst); in addBlockByrefAddress()
507 addUInt(*Loc, dwarf::DW_FORM_udata, varFieldOffset); in addBlockByrefAddress()
519 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType()
528 dwarf::Tag T = (dwarf::Tag)Ty->getTag(); in isUnsignedDIType()
534 if (T == dwarf::DW_TAG_pointer_type || in isUnsignedDIType()
535 T == dwarf::DW_TAG_ptr_to_member_type || in isUnsignedDIType()
536 T == dwarf::DW_TAG_reference_type || in isUnsignedDIType()
537 T == dwarf::DW_TAG_rvalue_reference_type) in isUnsignedDIType()
539 assert(T == dwarf::DW_TAG_typedef || T == dwarf::DW_TAG_const_type || in isUnsignedDIType()
540 T == dwarf::DW_TAG_volatile_type || in isUnsignedDIType()
541 T == dwarf::DW_TAG_restrict_type); in isUnsignedDIType()
549 assert((Encoding == dwarf::DW_ATE_unsigned || in isUnsignedDIType()
550 Encoding == dwarf::DW_ATE_unsigned_char || in isUnsignedDIType()
551 Encoding == dwarf::DW_ATE_signed || in isUnsignedDIType()
552 Encoding == dwarf::DW_ATE_signed_char || in isUnsignedDIType()
553 Encoding == dwarf::DW_ATE_float || Encoding == dwarf::DW_ATE_UTF || in isUnsignedDIType()
554 Encoding == dwarf::DW_ATE_boolean || in isUnsignedDIType()
555 (Ty->getTag() == dwarf::DW_TAG_unspecified_type && in isUnsignedDIType()
558 return Encoding == dwarf::DW_ATE_unsigned || in isUnsignedDIType()
559 Encoding == dwarf::DW_ATE_unsigned_char || in isUnsignedDIType()
560 Encoding == dwarf::DW_ATE_UTF || Encoding == dwarf::DW_ATE_boolean || in isUnsignedDIType()
561 Ty->getTag() == dwarf::DW_TAG_unspecified_type; in isUnsignedDIType()
568 if (Tag != dwarf::DW_TAG_member && Tag != dwarf::DW_TAG_typedef && in getBaseTypeSize()
569 Tag != dwarf::DW_TAG_const_type && Tag != dwarf::DW_TAG_volatile_type && in getBaseTypeSize()
570 Tag != dwarf::DW_TAG_restrict_type) in getBaseTypeSize()
580 if (BaseType->getTag() == dwarf::DW_TAG_reference_type || in getBaseTypeSize()
581 BaseType->getTag() == dwarf::DW_TAG_rvalue_reference_type) in getBaseTypeSize()
607 addUInt(*Block, dwarf::DW_FORM_data1, (unsigned char)0xFF & FltPtr[Start]); in addConstantFPValue()
609 addBlock(Die, dwarf::DW_AT_const_value, Block); in addConstantFPValue()
632 addUInt(Die, dwarf::DW_AT_const_value, in addConstantValue()
633 Unsigned ? dwarf::DW_FORM_udata : dwarf::DW_FORM_sdata, Val); in addConstantValue()
663 addUInt(*Block, dwarf::DW_FORM_data1, c); in addConstantValue()
666 addBlock(Die, dwarf::DW_AT_const_value, Block); in addConstantValue()
672 DD->getDwarfVersion() >= 4 ? dwarf::DW_AT_linkage_name in addLinkageName()
673 : dwarf::DW_AT_MIPS_linkage_name, in addLinkageName()
727 if (Ty->getTag() == dwarf::DW_TAG_restrict_type && DD->getDwarfVersion() <= 2) in getOrCreateTypeDIE()
772 unsigned Flags = IsImplementation ? dwarf::DW_FLAG_type_implementation : 0; in updateAcceleratorTables()
782 dwarf::Attribute Attribute) { in addType()
792 if (getLanguage() != dwarf::DW_LANG_C_plus_plus) in getParentContextString()
826 addString(Buffer, dwarf::DW_AT_name, Name); in constructTypeDIE()
829 if (BTy->getTag() == dwarf::DW_TAG_unspecified_type) in constructTypeDIE()
832 addUInt(Buffer, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, in constructTypeDIE()
836 addUInt(Buffer, dwarf::DW_AT_byte_size, None, Size); in constructTypeDIE()
852 addString(Buffer, dwarf::DW_AT_name, Name); in constructTypeDIE()
855 if (Size && Tag != dwarf::DW_TAG_pointer_type in constructTypeDIE()
856 && Tag != dwarf::DW_TAG_ptr_to_member_type in constructTypeDIE()
857 && Tag != dwarf::DW_TAG_reference_type in constructTypeDIE()
858 && Tag != dwarf::DW_TAG_rvalue_reference_type) in constructTypeDIE()
859 addUInt(Buffer, dwarf::DW_AT_byte_size, None, Size); in constructTypeDIE()
861 if (Tag == dwarf::DW_TAG_ptr_to_member_type) in constructTypeDIE()
863 Buffer, dwarf::DW_AT_containing_type, in constructTypeDIE()
875 createAndAddDIE(dwarf::DW_TAG_unspecified_parameters, Buffer); in constructSubprogramArguments()
877 DIE &Arg = createAndAddDIE(dwarf::DW_TAG_formal_parameter, Buffer); in constructSubprogramArguments()
880 addFlag(Arg, dwarf::DW_AT_artificial); in constructSubprogramArguments()
902 (Language == dwarf::DW_LANG_C89 || Language == dwarf::DW_LANG_C99 || in constructTypeDIE()
903 Language == dwarf::DW_LANG_ObjC)) in constructTypeDIE()
904 addFlag(Buffer, dwarf::DW_AT_prototyped); in constructTypeDIE()
907 addFlag(Buffer, dwarf::DW_AT_reference); in constructTypeDIE()
910 addFlag(Buffer, dwarf::DW_AT_rvalue_reference); in constructTypeDIE()
917 addFlag(Buffer, dwarf::DW_AT_declaration); in constructTypeDIE()
918 return addDIETypeSignature(Buffer, dwarf::DW_AT_signature, Identifier); in constructTypeDIE()
928 case dwarf::DW_TAG_array_type: in constructTypeDIE()
931 case dwarf::DW_TAG_enumeration_type: in constructTypeDIE()
934 case dwarf::DW_TAG_structure_type: in constructTypeDIE()
935 case dwarf::DW_TAG_union_type: in constructTypeDIE()
936 case dwarf::DW_TAG_class_type: { in constructTypeDIE()
945 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
946 DIE &ElemDie = createAndAddDIE(dwarf::DW_TAG_friend, Buffer); in constructTypeDIE()
947 addType(ElemDie, resolve(DDTy->getBaseType()), dwarf::DW_AT_friend); in constructTypeDIE()
956 addString(ElemDie, dwarf::DW_AT_APPLE_property_name, PropertyName); in constructTypeDIE()
962 addString(ElemDie, dwarf::DW_AT_APPLE_property_getter, GetterName); in constructTypeDIE()
965 addString(ElemDie, dwarf::DW_AT_APPLE_property_setter, SetterName); in constructTypeDIE()
967 addUInt(ElemDie, dwarf::DW_AT_APPLE_property_attribute, None, in constructTypeDIE()
973 addFlag(Buffer, dwarf::DW_AT_APPLE_block); in constructTypeDIE()
979 addDIEEntry(Buffer, dwarf::DW_AT_containing_type, in constructTypeDIE()
983 addFlag(Buffer, dwarf::DW_AT_APPLE_objc_complete_type); in constructTypeDIE()
987 if (Tag == dwarf::DW_TAG_class_type || in constructTypeDIE()
988 Tag == dwarf::DW_TAG_structure_type || Tag == dwarf::DW_TAG_union_type) in constructTypeDIE()
999 addString(Buffer, dwarf::DW_AT_name, Name); in constructTypeDIE()
1001 if (Tag == dwarf::DW_TAG_enumeration_type || in constructTypeDIE()
1002 Tag == dwarf::DW_TAG_class_type || Tag == dwarf::DW_TAG_structure_type || in constructTypeDIE()
1003 Tag == dwarf::DW_TAG_union_type) { in constructTypeDIE()
1007 addUInt(Buffer, dwarf::DW_AT_byte_size, None, Size); in constructTypeDIE()
1010 addUInt(Buffer, dwarf::DW_AT_byte_size, None, 0); in constructTypeDIE()
1014 addFlag(Buffer, dwarf::DW_AT_declaration); in constructTypeDIE()
1023 addUInt(Buffer, dwarf::DW_AT_APPLE_runtime_class, dwarf::DW_FORM_data1, in constructTypeDIE()
1031 createAndAddDIE(dwarf::DW_TAG_template_type_parameter, Buffer); in constructTemplateTypeParameterDIE()
1036 addString(ParamDIE, dwarf::DW_AT_name, TP->getName()); in constructTemplateTypeParameterDIE()
1045 if (VP->getTag() == dwarf::DW_TAG_template_value_parameter) in constructTemplateValueParameterDIE()
1048 addString(ParamDIE, dwarf::DW_AT_name, VP->getName()); in constructTemplateValueParameterDIE()
1059 addUInt(*Loc, dwarf::DW_FORM_data1, dwarf::DW_OP_stack_value); in constructTemplateValueParameterDIE()
1060 addBlock(ParamDIE, dwarf::DW_AT_location, Loc); in constructTemplateValueParameterDIE()
1061 } else if (VP->getTag() == dwarf::DW_TAG_GNU_template_template_param) { in constructTemplateValueParameterDIE()
1063 addString(ParamDIE, dwarf::DW_AT_GNU_template_name, in constructTemplateValueParameterDIE()
1065 } else if (VP->getTag() == dwarf::DW_TAG_GNU_template_parameter_pack) { in constructTemplateValueParameterDIE()
1078 DIE &NDie = createAndAddDIE(dwarf::DW_TAG_namespace, *ContextDIE, NS); in getOrCreateNameSpace()
1082 addString(NDie, dwarf::DW_AT_name, NS->getName()); in getOrCreateNameSpace()
1098 DIE &MDie = createAndAddDIE(dwarf::DW_TAG_module, *ContextDIE, M); in getOrCreateModule()
1101 addString(MDie, dwarf::DW_AT_name, M->getName()); in getOrCreateModule()
1105 addString(MDie, dwarf::DW_AT_LLVM_config_macros, in getOrCreateModule()
1108 addString(MDie, dwarf::DW_AT_LLVM_include_path, M->getIncludePath()); in getOrCreateModule()
1110 addString(MDie, dwarf::DW_AT_LLVM_isysroot, M->getISysRoot()); in getOrCreateModule()
1135 DIE &SPDie = createAndAddDIE(dwarf::DW_TAG_subprogram, *ContextDIE, SP); in getOrCreateSubprogramDIE()
1160 addUInt(SPDie, dwarf::DW_AT_decl_file, None, DefID); in applySubprogramDefinitionAttributes()
1163 addUInt(SPDie, dwarf::DW_AT_decl_line, None, SP->getLine()); in applySubprogramDefinitionAttributes()
1182 addDIEEntry(SPDie, dwarf::DW_AT_specification, *DeclDie); in applySubprogramDefinitionAttributes()
1194 addString(SPDie, dwarf::DW_AT_name, SP->getName()); in applySubprogramAttributes()
1206 (Language == dwarf::DW_LANG_C89 || Language == dwarf::DW_LANG_C99 || in applySubprogramAttributes()
1207 Language == dwarf::DW_LANG_ObjC)) in applySubprogramAttributes()
1208 addFlag(SPDie, dwarf::DW_AT_prototyped); in applySubprogramAttributes()
1222 addUInt(SPDie, dwarf::DW_AT_virtuality, dwarf::DW_FORM_data1, VK); in applySubprogramAttributes()
1224 addUInt(*Block, dwarf::DW_FORM_data1, dwarf::DW_OP_constu); in applySubprogramAttributes()
1225 addUInt(*Block, dwarf::DW_FORM_udata, SP->getVirtualIndex()); in applySubprogramAttributes()
1226 addBlock(SPDie, dwarf::DW_AT_vtable_elem_location, Block); in applySubprogramAttributes()
1232 addFlag(SPDie, dwarf::DW_AT_declaration); in applySubprogramAttributes()
1240 addFlag(SPDie, dwarf::DW_AT_artificial); in applySubprogramAttributes()
1243 addFlag(SPDie, dwarf::DW_AT_external); in applySubprogramAttributes()
1246 addFlag(SPDie, dwarf::DW_AT_APPLE_optimized); in applySubprogramAttributes()
1249 addUInt(SPDie, dwarf::DW_AT_APPLE_isa, dwarf::DW_FORM_flag, isa); in applySubprogramAttributes()
1252 addFlag(SPDie, dwarf::DW_AT_reference); in applySubprogramAttributes()
1255 addFlag(SPDie, dwarf::DW_AT_rvalue_reference); in applySubprogramAttributes()
1258 addUInt(SPDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in applySubprogramAttributes()
1259 dwarf::DW_ACCESS_protected); in applySubprogramAttributes()
1261 addUInt(SPDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in applySubprogramAttributes()
1262 dwarf::DW_ACCESS_private); in applySubprogramAttributes()
1264 addUInt(SPDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in applySubprogramAttributes()
1265 dwarf::DW_ACCESS_public); in applySubprogramAttributes()
1268 addFlag(SPDie, dwarf::DW_AT_explicit); in applySubprogramAttributes()
1273 DIE &DW_Subrange = createAndAddDIE(dwarf::DW_TAG_subrange_type, Buffer); in constructSubrangeDIE()
1274 addDIEEntry(DW_Subrange, dwarf::DW_AT_type, *IndexTy); in constructSubrangeDIE()
1285 addUInt(DW_Subrange, dwarf::DW_AT_lower_bound, None, LowerBound); in constructSubrangeDIE()
1290 addUInt(DW_Subrange, dwarf::DW_AT_count, None, Count); in constructSubrangeDIE()
1297 IndexTyDie = &createAndAddDIE(dwarf::DW_TAG_base_type, UnitDie); in getIndexTyDie()
1298 addString(*IndexTyDie, dwarf::DW_AT_name, "sizetype"); in getIndexTyDie()
1299 addUInt(*IndexTyDie, dwarf::DW_AT_byte_size, None, sizeof(int64_t)); in getIndexTyDie()
1300 addUInt(*IndexTyDie, dwarf::DW_AT_encoding, dwarf::DW_FORM_data1, in getIndexTyDie()
1301 dwarf::DW_ATE_unsigned); in getIndexTyDie()
1307 addFlag(Buffer, dwarf::DW_AT_GNU_vector); in constructArrayTypeDIE()
1322 if (Element->getTag() == dwarf::DW_TAG_subrange_type) in constructArrayTypeDIE()
1334 DIE &Enumerator = createAndAddDIE(dwarf::DW_TAG_enumerator, Buffer); in constructEnumTypeDIE()
1336 addString(Enumerator, dwarf::DW_AT_name, Name); in constructEnumTypeDIE()
1338 addSInt(Enumerator, dwarf::DW_AT_const_value, dwarf::DW_FORM_sdata, in constructEnumTypeDIE()
1345 addFlag(Buffer, dwarf::DW_AT_enum_class); in constructEnumTypeDIE()
1359 addDIEEntry(SPDie, dwarf::DW_AT_containing_type, *NDie); in constructContainingTypeDIEs()
1367 addString(MemberDie, dwarf::DW_AT_name, Name); in constructMemberDIE()
1373 if (DT->getTag() == dwarf::DW_TAG_inheritance && DT->isVirtual()) { in constructMemberDIE()
1380 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_dup); in constructMemberDIE()
1381 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_deref); in constructMemberDIE()
1382 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_constu); in constructMemberDIE()
1383 addUInt(*VBaseLocationDie, dwarf::DW_FORM_udata, DT->getOffsetInBits()); in constructMemberDIE()
1384 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_minus); in constructMemberDIE()
1385 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_deref); in constructMemberDIE()
1386 addUInt(*VBaseLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_plus); in constructMemberDIE()
1388 addBlock(MemberDie, dwarf::DW_AT_data_member_location, VBaseLocationDie); in constructMemberDIE()
1396 addUInt(MemberDie, dwarf::DW_AT_byte_size, None, FieldSize/8); in constructMemberDIE()
1397 addUInt(MemberDie, dwarf::DW_AT_bit_size, None, Size); in constructMemberDIE()
1432 addUInt(MemberDie, dwarf::DW_AT_bit_offset, None, DwarfBitOffset); in constructMemberDIE()
1439 addUInt(*MemLocationDie, dwarf::DW_FORM_data1, dwarf::DW_OP_plus_uconst); in constructMemberDIE()
1440 addUInt(*MemLocationDie, dwarf::DW_FORM_udata, OffsetInBytes); in constructMemberDIE()
1441 addBlock(MemberDie, dwarf::DW_AT_data_member_location, MemLocationDie); in constructMemberDIE()
1443 addUInt(MemberDie, dwarf::DW_AT_data_member_location, None, in constructMemberDIE()
1448 addUInt(MemberDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in constructMemberDIE()
1449 dwarf::DW_ACCESS_protected); in constructMemberDIE()
1451 addUInt(MemberDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in constructMemberDIE()
1452 dwarf::DW_ACCESS_private); in constructMemberDIE()
1455 addUInt(MemberDie, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in constructMemberDIE()
1456 dwarf::DW_ACCESS_public); in constructMemberDIE()
1458 addUInt(MemberDie, dwarf::DW_AT_virtuality, dwarf::DW_FORM_data1, in constructMemberDIE()
1459 dwarf::DW_VIRTUALITY_virtual); in constructMemberDIE()
1464 MemberDie.addValue(DIEValueAllocator, dwarf::DW_AT_APPLE_property, in constructMemberDIE()
1465 dwarf::DW_FORM_ref4, DIEEntry(*PDie)); in constructMemberDIE()
1468 addFlag(MemberDie, dwarf::DW_AT_artificial); in constructMemberDIE()
1478 assert(dwarf::isType(ContextDIE->getTag()) && in getOrCreateStaticMemberDIE()
1488 addString(StaticMemberDIE, dwarf::DW_AT_name, DT->getName()); in getOrCreateStaticMemberDIE()
1491 addFlag(StaticMemberDIE, dwarf::DW_AT_external); in getOrCreateStaticMemberDIE()
1492 addFlag(StaticMemberDIE, dwarf::DW_AT_declaration); in getOrCreateStaticMemberDIE()
1497 addUInt(StaticMemberDIE, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in getOrCreateStaticMemberDIE()
1498 dwarf::DW_ACCESS_protected); in getOrCreateStaticMemberDIE()
1500 addUInt(StaticMemberDIE, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in getOrCreateStaticMemberDIE()
1501 dwarf::DW_ACCESS_private); in getOrCreateStaticMemberDIE()
1503 addUInt(StaticMemberDIE, dwarf::DW_AT_accessibility, dwarf::DW_FORM_data1, in getOrCreateStaticMemberDIE()
1504 dwarf::DW_ACCESS_public); in getOrCreateStaticMemberDIE()