/freebsd-src/tools/regression/tmpfs/ |
H A D | t_rename | 44 mkdir a || die 45 mv a/. c 2>/dev/null && die 46 mv a/.. c 2>/dev/null && die 47 rmdir a || die 50 mkdir a || die 51 ${Src_Dir}/h_tools rename a /var/tmp/a >/dev/null 2>&1 && die 52 rmdir a || die 55 mkdir a || die 56 mv a c || die 57 test -d a && die [all …]
|
H A D | t_times | 43 touch a || die 44 eval $(stat -s a | sed -e 's|st_|ost_|g') || die 45 [ ${ost_birthtime} -eq ${ost_atime} ] || die 46 [ ${ost_birthtime} -eq ${ost_ctime} ] || die 47 [ ${ost_birthtime} -eq ${ost_mtime} ] || die 51 cat a >/dev/null || die 52 eval $(stat -s a) || die 53 [ ${st_atime} -gt ${ost_atime} ] || die 54 [ ${st_ctime} -eq ${ost_ctime} ] || die 55 [ ${st_mtime} -eq ${ost_mtime} ] || die [all …]
|
H A D | t_setattr | 44 mkdir own || die 46 chown 1234 own || die 48 [ ${st_uid} -eq 1234 ] || die 49 [ ${st_gid} -eq ${ost_gid} ] || die 51 mkdir ownq || die 52 echo 'chown 1234 ownq' | kqueue_monitor 1 ownq || die 54 kqueue_check ownq NOTE_ATTRIB || die 57 mkdir grp || die 59 chgrp 5678 grp || die 61 [ ${st_uid} -eq ${ost_uid} ] || die [all …]
|
H A D | t_rmdir | 44 rmdir 2>/dev/null && die 47 rmdir non-existent 2>/dev/null && die 50 mkdir a || die 52 [ ${st_nlink} = 3 ] || die 53 rmdir a || die 55 [ ${st_nlink} = 2 ] || die 58 mkdir -p a/b/c || die 59 rmdir a/b/c || die 60 rmdir a/b || die 61 rmdir a || die [all …]
|
H A D | t_link | 43 touch a || die 44 touch z || die 47 test ${sta_ino} != ${stz_ino} || die 48 test ${sta_nlink} -eq 1 || die 49 ln a b || die 53 test ${sta_ino} = ${stb_ino} || die 54 test ${sta_nlink} -eq 2 || die 55 test ${stb_nlink} -eq 2 || die 57 rm a || die 59 test ${stb_nlink} -eq 1 || die [all …]
|
H A D | t_mkdir | 47 [ ${st_nlink} = 3 ] || die 51 test -d ${d} && die 53 test -d ${d} || die 56 [ ${st_nlink} = 103 ] || die 59 test -d a/b/c/d/e && die 60 mkdir -p a/b/c/d/e || die 61 test -d a/b/c/d/e || die 65 mkdir b c || die 67 chown ${Unprived_User}:0 b || die 69 [ ${st_uid} -eq $(id -u ${Unprived_User}) ] || die [all …]
|
H A D | t_create | 43 umask 022 || die 44 test -f a && die 45 touch a || die 46 test -f a || die 50 test ${st_flags} -eq 0 || die 51 test ${st_size} -eq 0 || die 52 test ${st_uid} -eq $(id -u) || die 53 test ${st_gid} -eq ${dst_gid} || die 54 test ${st_mode} = 0100644 || die 59 mkdir b c || die [all …]
|
H A D | t_symlink | 43 touch a || die 45 ln -s a b || die 47 [ $(md5 b | cut -d ' ' -f 4) = d41d8cd98f00b204e9800998ecf8427e ] || die 50 echo foo >a || die 52 [ $(md5 b | cut -d ' ' -f 4) = d3b07384d113edec49eaa6238ad5ff00 ] || die 55 ln -s /bin/cp cp || die 57 ./cp b c || die 58 [ -f c ] || die 61 mkdir d || die 62 [ -f d/foo ] && die [all …]
|
H A D | t_remove | 43 test -f a && die 44 touch a || die 45 test -f a || die 46 rm a || die 47 test -f a && die 50 touch a || die 51 chflags uchg a || die 53 #rm -f a 2>/dev/null && die 54 chflags nouchg a || die 55 rm a || die [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.h | 19 #include "llvm/CodeGen/DIE.h" 59 DIE *IndexTyDie = nullptr; 63 DenseMap<const MDNode *, DIE *> MDNodeToDieMap; 72 /// DW_AT_containing_type attribute. This attribute points to a DIE that 73 /// corresponds to the MDNode mapped with the subprogram DIE. 74 DenseMap<DIE *, const DINode *> ContainingTypeMap; 79 bool applySubprogramDefinitionAttributes(const DISubprogram *SP, DIE &SPDie, bool Minimal); 84 void addAttribute(DIEValueList &Die, dwarf::Attribute Attribute, in addAttribute() argument 95 Die.addValue(DIEValueAllocator, in addAttribute() 127 virtual void addGlobalName(StringRef Name, const DIE [all...] |
H A D | DwarfCompileUnit.h | 34 class DIE; variable 59 StringMap<const DIE *> GlobalNames; 62 StringMap<const DIE *> GlobalTypes; 80 DenseMap<const DILocalScope *, DIE *> LexicalBlockDIEs; 83 DenseMap<const DILocalScope *, DIE *> AbstractLocalScopeDIEs; 102 DIE &VariableDie); 106 DIE &VariableDie); 110 DIE &VariableDie); 114 DIE &VariableDie); 118 DIE 174 DIE *Die = nullptr; global() member [all...] |
H A D | DIEHash.h | 17 #include "llvm/CodeGen/DIE.h" 25 /// attributes onto a DIE. 27 // Collection of all attributes used in hashing a particular DIE. 38 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die); 41 uint64_t computeTypeSignature(const DIE &Die); 43 // Helper routines to process parts of a DIE. 46 void addParentContext(const DIE &Parent); 48 /// Adds the attributes of \param Die to the hash. 49 void addAttributes(const DIE &Die); 51 /// Computes the full DWARF4 7.27 hash of the DIE. [all …]
|
H A D | DwarfUnit.cpp | 42 DwarfCompileUnit &CU, DIELoc &DIE) in DIEDwarfExpression() 43 : DwarfExpression(AP.getDwarfVersion(), CU), AP(AP), OutDIE(DIE) {} 180 /// Check whether the DIE for this MDNode can be shared across CUs. in isShareableAcrossCUs() 182 // When the MDNode can be part of the type system, the DIE can be shared in isShareableAcrossCUs() 184 // Combining type units and cross-CU DIE sharing is lower value (since in isShareableAcrossCUs() 185 // cross-CU DIE sharing is used in LTO and removes type redundancy at that in isShareableAcrossCUs() 196 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE() 202 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE() 210 void DwarfUnit::insertDIE(DIE *D) { in insertDIE() 214 void DwarfUnit::addFlag(DIE in addFlag() 41 DIEDwarfExpression(const AsmPrinter & AP,DwarfCompileUnit & CU,DIELoc & DIE) DIEDwarfExpression() argument 213 addFlag(DIE & Die,dwarf::Attribute Attribute) addFlag() argument 220 addUInt(DIEValueList & Die,dwarf::Attribute Attribute,std::optional<dwarf::Form> Form,uint64_t Integer) addUInt() argument 234 addSInt(DIEValueList & Die,dwarf::Attribute Attribute,std::optional<dwarf::Form> Form,int64_t Integer) addSInt() argument 241 addSInt(DIELoc & Die,std::optional<dwarf::Form> Form,int64_t Integer) addSInt() argument 246 addString(DIE & Die,dwarf::Attribute Attribute,StringRef String) addString() argument 279 addLabel(DIEValueList & Die,dwarf::Attribute Attribute,dwarf::Form Form,const MCSymbol * Label) addLabel() argument 284 addLabel(DIELoc & Die,dwarf::Form Form,const MCSymbol * Label) addLabel() argument 288 addSectionOffset(DIE & Die,dwarf::Attribute Attribute,uint64_t Integer) addSectionOffset() argument 306 addPoolOpAddress(DIEValueList & Die,const MCSymbol * Label) addPoolOpAddress() argument 331 addOpAddress(DIELoc & Die,const MCSymbol * Sym) addOpAddress() argument 346 addLabelDelta(DIEValueList & Die,dwarf::Attribute Attribute,const MCSymbol * Hi,const MCSymbol * Lo) addLabelDelta() argument 352 addDIEEntry(DIE & Die,dwarf::Attribute Attribute,DIE & Entry) addDIEEntry() argument 356 addDIETypeSignature(DIE & Die,uint64_t Signature) addDIETypeSignature() argument 367 addDIEEntry(DIE & Die,dwarf::Attribute Attribute,DIEEntry Entry) addDIEEntry() argument 384 DIE &Die = Parent.addChild(DIE::get(DIEValueAllocator, Tag)); createAndAddDIE() local 390 addBlock(DIE & Die,dwarf::Attribute Attribute,DIELoc * Loc) addBlock() argument 396 addBlock(DIE & Die,dwarf::Attribute Attribute,dwarf::Form Form,DIEBlock * Block) addBlock() argument 403 addBlock(DIE & Die,dwarf::Attribute Attribute,DIEBlock * Block) addBlock() argument 408 addSourceLine(DIE & Die,unsigned Line,const DIFile * File) addSourceLine() argument 417 addSourceLine(DIE & Die,const DILocalVariable * V) addSourceLine() argument 423 addSourceLine(DIE & Die,const DIGlobalVariable * G) addSourceLine() argument 429 addSourceLine(DIE & Die,const DISubprogram * SP) addSourceLine() argument 435 addSourceLine(DIE & Die,const DILabel * L) addSourceLine() argument 441 addSourceLine(DIE & Die,const DIType * Ty) addSourceLine() argument 447 addSourceLine(DIE & Die,const DIObjCProperty * Ty) addSourceLine() argument 453 addConstantFPValue(DIE & Die,const ConstantFP * CFP) addConstantFPValue() argument 458 addConstantValue(DIE & Die,const ConstantInt * CI,const DIType * Ty) addConstantValue() argument 463 addConstantValue(DIE & Die,uint64_t Val,const DIType * Ty) addConstantValue() argument 467 addConstantValue(DIE & Die,bool Unsigned,uint64_t Val) addConstantValue() argument 474 addConstantValue(DIE & Die,const APInt & Val,const DIType * Ty) addConstantValue() argument 478 addConstantValue(DIE & Die,const APInt & Val,bool Unsigned) addConstantValue() argument 507 addLinkageName(DIE & Die,StringRef LinkageName) addLinkageName() argument 526 addThrownTypes(DIE & Die,DINodeArray ThrownTypes) addThrownTypes() argument 533 addAccess(DIE & Die,DINode::DIFlags Flags) addAccess() argument 1797 addSectionDelta(DIE & Die,dwarf::Attribute Attribute,const MCSymbol * Hi,const MCSymbol * Lo) addSectionDelta() argument 1803 addSectionLabel(DIE & Die,dwarf::Attribute Attribute,const MCSymbol * Label,const MCSymbol * Sec) addSectionLabel() argument 1817 addGlobalName(StringRef Name,const DIE & Die,const DIScope * Context) addGlobalName() argument 1822 addGlobalType(const DIType * Ty,const DIE & Die,const DIScope * Context) addGlobalType() argument [all...] |
/freebsd-src/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_die.c | 35 Dwarf_Die die; in _dwarf_die_alloc() local 39 if ((die = calloc(1, sizeof(struct _Dwarf_Die))) == NULL) { in _dwarf_die_alloc() 44 STAILQ_INIT(&die->die_attr); in _dwarf_die_alloc() 46 *ret_die = die; in _dwarf_die_alloc() 56 Dwarf_Die die; in _dwarf_die_add() local 64 if ((ret = _dwarf_die_alloc(dbg, &die, error)) != DW_DLE_NONE) in _dwarf_die_add() 67 die->die_offset = offset; in _dwarf_die_add() 68 die->die_abnum = abnum; in _dwarf_die_add() 69 die->die_ab = ab; in _dwarf_die_add() 70 die->die_cu = cu; in _dwarf_die_add() [all …]
|
H A D | dwarf_attr.c | 33 dwarf_attr(Dwarf_Die die, Dwarf_Half attr, Dwarf_Attribute *atp, in dwarf_attr() argument 39 dbg = die != NULL ? die->die_dbg : NULL; in dwarf_attr() 41 if (die == NULL || atp == NULL) { in dwarf_attr() 46 if ((at = _dwarf_attr_find(die, attr)) == NULL) { in dwarf_attr() 57 dwarf_attrlist(Dwarf_Die die, Dwarf_Attribute **attrbuf, in dwarf_attrlist() argument 64 dbg = die != NULL ? die->die_dbg : NULL; in dwarf_attrlist() 66 if (die == NULL || attrbuf == NULL || attrcount == NULL) { in dwarf_attrlist() 71 if (die->die_ab->ab_atnum == 0) { in dwarf_attrlist() 76 *attrcount = die->die_ab->ab_atnum; in dwarf_attrlist() 78 if (die->die_attrarray != NULL) { in dwarf_attrlist() [all …]
|
H A D | dwarf_pro_attr.c | 32 dwarf_add_AT_location_expr(Dwarf_P_Debug dbg, Dwarf_P_Die die, Dwarf_Half attr, in dwarf_add_AT_location_expr() argument 37 if (dbg == NULL || die == NULL || loc_expr == NULL) { in dwarf_add_AT_location_expr() 42 if (_dwarf_attr_alloc(die, &at, error) != DW_DLE_NONE) in dwarf_add_AT_location_expr() 45 at->at_die = die; in dwarf_add_AT_location_expr() 64 STAILQ_INSERT_TAIL(&die->die_attr, at, at_next); in dwarf_add_AT_location_expr() 70 dwarf_add_AT_name(Dwarf_P_Die die, char *name, Dwarf_Error *error) in dwarf_add_AT_name() argument 74 if (_dwarf_add_string_attr(die, &at, DW_AT_name, name, error) != in dwarf_add_AT_name() 82 dwarf_add_AT_comp_dir(Dwarf_P_Die die, char *dir, Dwarf_Error *error) in dwarf_add_AT_comp_dir() argument 86 if (_dwarf_add_string_attr(die, &at, DW_AT_comp_dir, dir, error) != in dwarf_add_AT_comp_dir() 94 dwarf_add_AT_producer(Dwarf_P_Die die, char *producer, Dwarf_Error *error) in dwarf_add_AT_producer() argument [all …]
|
H A D | dwarf_die.c | 33 dwarf_child(Dwarf_Die die, Dwarf_Die *ret_die, Dwarf_Error *error) in dwarf_child() argument 40 dbg = die != NULL ? die->die_dbg : NULL; in dwarf_child() 42 if (die == NULL || ret_die == NULL) { in dwarf_child() 47 if (die->die_ab->ab_children == DW_CHILDREN_no) in dwarf_child() 50 dbg = die->die_dbg; in dwarf_child() 51 cu = die->die_cu; in dwarf_child() 53 ret = _dwarf_die_parse(die->die_dbg, ds, cu, cu->cu_dwarf_size, in dwarf_child() 54 die->die_next_off, cu->cu_next_offset, ret_die, 0, error); in dwarf_child() 66 dwarf_siblingof_b(Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Die *ret_die, in dwarf_siblingof_b() argument 88 /* Application requests the first DIE in this CU. */ in dwarf_siblingof_b() [all …]
|
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.cpp | 94 static bool IsClangModuleFwdDecl(const DWARFDIE &Die) { in IsClangModuleFwdDecl() 95 if (!Die.GetAttributeValueAsUnsigned(DW_AT_declaration, 0)) in IsClangModuleFwdDecl() 97 auto Parent = Die.GetParent(); in IsClangModuleFwdDecl() 106 static DWARFDIE GetContainingClangModuleDIE(const DWARFDIE &die) { in GetContainingClangModuleDIE() 107 if (die.IsValid()) { in GetContainingClangModuleDIE() 109 // Now make sure this DIE is scoped in a DW_TAG_module tag and return true in GetContainingClangModuleDIE() 111 for (DWARFDIE parent = die.GetParent(); parent.IsValid(); in GetContainingClangModuleDIE() 125 static lldb::ModuleSP GetContainingClangModule(const DWARFDIE &die) { in GetContainingClangModule() 126 if (die.IsValid()) { in GetContainingClangModule() 127 DWARFDIE clang_module_die = GetContainingClangModuleDIE(die); in GetContainingClangModule() 92 IsClangModuleFwdDecl(const DWARFDIE & Die) IsClangModuleFwdDecl() argument 104 GetContainingClangModuleDIE(const DWARFDIE & die) GetContainingClangModuleDIE() argument 123 GetContainingClangModule(const DWARFDIE & die) GetContainingClangModule() argument 158 ParseTypeFromClangModule(const SymbolContext & sc,const DWARFDIE & die,Log * log) ParseTypeFromClangModule() argument 255 PrepareContextToReceiveMembers(TypeSystemClang & ast,ClangASTImporter & ast_importer,clang::DeclContext * decl_ctx,DWARFDIE die,const char * type_name_cstr) PrepareContextToReceiveMembers() argument 287 ParsedDWARFTypeAttributes(const DWARFDIE & die) ParsedDWARFTypeAttributes() argument 428 GetUnitName(const DWARFDIE & die) GetUnitName() argument 435 ParseTypeFromDWARF(const SymbolContext & sc,const DWARFDIE & die,bool * type_is_new_ptr) ParseTypeFromDWARF() argument 546 ExtractDataMemberLocation(DWARFDIE const & die,DWARFFormValue const & form_value,ModuleSP module_sp) ExtractDataMemberLocation() argument 574 ParseTypeModifier(const SymbolContext & sc,const DWARFDIE & die,ParsedDWARFTypeAttributes & attrs) ParseTypeModifier() argument 796 GetDIEClassTemplateParams(const DWARFDIE & die) GetDIEClassTemplateParams() argument 808 ParseEnum(const SymbolContext & sc,const DWARFDIE & die,ParsedDWARFTypeAttributes & attrs) ParseEnum() argument 944 ParseSubroutine(const DWARFDIE & die,const ParsedDWARFTypeAttributes & attrs) ParseSubroutine() argument 1343 ParseArrayType(const DWARFDIE & die,const ParsedDWARFTypeAttributes & attrs) ParseArrayType() argument 1398 ParsePointerToMemberType(const DWARFDIE & die,const ParsedDWARFTypeAttributes & attrs) ParsePointerToMemberType() argument 1425 ParseInheritance(const DWARFDIE & die,const DWARFDIE & parent_die,const CompilerType class_clang_type,const AccessType default_accessibility,const lldb::ModuleSP & module_sp,std::vector<std::unique_ptr<clang::CXXBaseSpecifier>> & base_classes,ClangASTImporter::LayoutInfo & layout_info) ParseInheritance() argument 1524 UpdateSymbolContextScopeForType(const SymbolContext & sc,const DWARFDIE & die,TypeSP type_sp) UpdateSymbolContextScopeForType() argument 1553 GetCPlusPlusQualifiedName(const DWARFDIE & die) GetCPlusPlusQualifiedName() argument 1609 ParseStructureLikeDIE(const SymbolContext & sc,const DWARFDIE & die,ParsedDWARFTypeAttributes & attrs) ParseStructureLikeDIE() argument 2018 ParseTemplateDIE(const DWARFDIE & die,TypeSystemClang::TemplateParameterInfos & template_param_infos) ParseTemplateDIE() argument 2138 for (DWARFDIE die : parent_die.children()) { ParseTemplateParameterInfos() local 2158 CompleteRecordType(const DWARFDIE & die,lldb_private::Type * type,CompilerType & clang_type) CompleteRecordType() argument 2195 for (const DWARFDIE &die : member_function_dies) CompleteRecordType() local 2252 for (const DWARFDIE &die : contained_type_dies) CompleteRecordType() local 2258 CompleteEnumType(const DWARFDIE & die,lldb_private::Type * type,CompilerType & clang_type) CompleteEnumType() argument 2273 CompleteTypeFromDWARF(const DWARFDIE & die,lldb_private::Type * type,CompilerType & clang_type) CompleteTypeFromDWARF() argument 2317 GetDeclForUIDFromDWARF(const DWARFDIE & die) GetDeclForUIDFromDWARF() argument 2325 GetDeclContextForUIDFromDWARF(const DWARFDIE & die) GetDeclContextForUIDFromDWARF() argument 2333 GetDeclContextContainingUIDFromDWARF(const DWARFDIE & die) GetDeclContextContainingUIDFromDWARF() argument 2349 for (DWARFDIE die : parent_die.children()) { ParseChildEnumerators() local 2408 ConstructDemangledNameFromDWARF(const DWARFDIE & die) ConstructDemangledNameFromDWARF() argument 2442 ParseFunctionFromDWARF(CompileUnit & comp_unit,const DWARFDIE & die,const AddressRange & func_range) ParseFunctionFromDWARF() argument 2561 VariantMember(DWARFDIE & die,lldb::ModuleSP module_sp) VariantMember() argument 2602 DiscriminantValue(const DWARFDIE & die,ModuleSP module_sp) DiscriminantValue() argument 2625 VariantPart(const DWARFDIE & die,const DWARFDIE & parent_die,lldb::ModuleSP module_sp) VariantPart() argument 2641 MemberAttributes(const DWARFDIE & die,const DWARFDIE & parent_die,ModuleSP module_sp) MemberAttributes() argument 2709 PropertyAttributes(const DWARFDIE & die) PropertyAttributes() argument 2772 ParseObjCProperty(const DWARFDIE & die,const DWARFDIE & parent_die,const lldb_private::CompilerType & class_clang_type,DelayedPropertyList & delayed_properties) ParseObjCProperty() argument 2864 CreateStaticMemberVariable(const DWARFDIE & die,const MemberAttributes & attrs,const lldb_private::CompilerType & class_clang_type) CreateStaticMemberVariable() argument 2903 ParseSingleMember(const DWARFDIE & die,const DWARFDIE & parent_die,const lldb_private::CompilerType & class_clang_type,lldb::AccessType default_accessibility,lldb_private::ClangASTImporter::LayoutInfo & layout_info,FieldInfo & last_field_info) ParseSingleMember() argument 3148 for (DWARFDIE die : parent_die.children()) { ParseChildMembers() local 3202 for (DWARFDIE die : parent_die.children()) { ParseChildParameters() local 3314 GetClangDeclForDIE(const DWARFDIE & die) GetClangDeclForDIE() argument 3419 GetClangDeclContextForDIE(const DWARFDIE & die) GetClangDeclContextForDIE() argument 3467 GetOwningClangModule(const DWARFDIE & die) GetOwningClangModule() argument 3493 IsSubroutine(const DWARFDIE & die) IsSubroutine() argument 3503 GetContainingFunctionWithAbstractOrigin(const DWARFDIE & die) GetContainingFunctionWithAbstractOrigin() argument 3541 GetDeclContextForBlock(const DWARFDIE & die) GetDeclContextForBlock() argument 3555 ResolveBlockDIE(const DWARFDIE & die) ResolveBlockDIE() argument 3577 ResolveNamespaceDIE(const DWARFDIE & die) ResolveNamespaceDIE() argument 3605 ResolveImportedDeclarationDIE(const DWARFDIE & die) ResolveImportedDeclarationDIE() argument 3641 GetClangDeclContextContainingDIE(const DWARFDIE & die,DWARFDIE * decl_ctx_die_copy) GetClangDeclContextContainingDIE() argument 3659 GetCachedClangDeclContextForDIE(const DWARFDIE & die) GetCachedClangDeclContextForDIE() argument 3669 LinkDeclContextToDIE(clang::DeclContext * decl_ctx,const DWARFDIE & die) LinkDeclContextToDIE() argument 3690 __anon176819460402(DWARFDIE die, UniqueCStringMap<DWARFDIE> &map, UniqueCStringMap<DWARFDIE> &map_artificial) CopyUniqueClassMethodTypes() argument 3861 ParseRustVariantPart(DWARFDIE & die,const DWARFDIE & parent_die,CompilerType & class_clang_type,const lldb::AccessType default_accesibility,ClangASTImporter::LayoutInfo & layout_info) ParseRustVariantPart() argument [all...] |
H A D | DWARFASTParserClang.h | 53 const lldb_private::plugin::dwarf::DWARFDIE &die, 57 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 61 const lldb_private::plugin::dwarf::DWARFDIE &die, 65 CompleteTypeFromDWARF(const lldb_private::plugin::dwarf::DWARFDIE &die, 70 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 76 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 79 const lldb_private::plugin::dwarf::DWARFDIE &die) override; 102 /// parameters from the DIE name and instead always adds template parameter 105 /// \param die The struct/class DWARFDIE containing template parameters. 107 /// If the DIE' [all...] |
H A D | DWARFIndex.cpp | 27 const Module::LookupInfo &lookup_info, DWARFDIE die, in ProcessFunctionDIE() 29 llvm::function_ref<bool(DWARFDIE die)> callback) { in ProcessFunctionDIE() 35 if (const char *mangled_die_name = die.GetMangledName()) { in ProcessFunctionDIE() 38 SymbolFileDWARF *symbols = die.GetDWARF(); in ProcessFunctionDIE() 40 symbols->ConstructFunctionDemangledName(die)) in ProcessFunctionDIE() 58 if (!SymbolFileDWARF::DIEInDeclContext(parent_decl_ctx, die)) in ProcessFunctionDIE() 62 if (name_type_mask & eFunctionNameTypeFull && die.GetMangledName() == name) in ProcessFunctionDIE() 63 return callback(die); in ProcessFunctionDIE() 68 ObjCLanguage::IsPossibleObjCMethodName(die.GetName())) in ProcessFunctionDIE() 69 return callback(die); in ProcessFunctionDIE() 32 DWARFDIE die = dwarf.GetDIE(ref); ProcessFunctionDIE() local 99 if (DWARFDIE die = m_dwarf.GetDIE(ref)) operator ()() local 121 __anond9a619a40102(DWARFDIE die) GetFullyQualifiedType() argument 127 GetFullyQualifiedTypeImpl(const DWARFDeclContext & context,DWARFDIE die,llvm::function_ref<bool (DWARFDIE die)> callback) GetFullyQualifiedTypeImpl() argument [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFDie.h | 44 const DWARFDebugInfoEntry *Die = nullptr; variable 48 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {} in DWARFDie() 50 bool isValid() const { return U && Die; } in isValid() 52 const DWARFDebugInfoEntry *getDebugInfoEntry() const { return Die; } in getDebugInfoEntry() 55 /// Get the abbreviation declaration for this DIE. 60 return Die->getAbbreviationDeclarationPtr(); in getAbbreviationDeclarationPtr() 65 /// \returns the DIE offset or -1U if invalid. 68 return Die->getOffset(); in getOffset() 80 return Die->hasChildren(); in hasChildren() 83 /// Returns true for a valid DIE that terminates a sibling chain. [all …]
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
H A D | DWARFLinkerCompileUnit.h | 14 #include "llvm/CodeGen/DIE.h" 37 DIE::value_iterator I; 41 PatchLocation(DIE::value_iterator I) : I(I) {} in PatchLocation() 42 PatchLocation(DIE::value_iterator I, int64_t Reloc) in PatchLocation() 62 /// instance in the object file to its brand new cloned and generated DIE tree. 65 /// Information gathered about a DIE in the object file. 73 /// Cloned version of that DIE. 74 DIE *Clone; 76 /// The index of this DIE's parent. 79 /// Is the DIE par 151 getInfo(const DWARFDie & Die) getInfo() argument 235 const DIE *Die; global() member [all...] |
H A D | DWARFLinker.h | 151 /// Recursively emit the DIE tree rooted at \p Die. 152 virtual void emitDIE(DIE &Die) = 0; 230 /// Add object file to be linked. Pre-load compile unit die. Call 231 /// \p OnCUDieLoaded for each compile unit die. If specified \p File 327 TF_DependencyWalk = 1 << 2, ///< Walking the dependencies of a kept DIE. 328 TF_ParentWalk = 1 << 3, ///< Walking up the parents of a kept DIE. 335 /// Given a DIE, look for DIEs to be kept. 337 /// Given a DIE, look for children of this DIE to be kept. 339 /// Given a DIE, look for DIEs referencing this DIE to be kept. 341 /// Given a DIE, look for parent DIEs to be kept. [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerCompileUnit.h | 50 /// instance of the object file or its brand new cloned and generated DIE tree. 126 /// Navigate DWARF tree and set die properties. 154 /// Kinds of placement for the output die. 158 /// Corresponding DIE goes to the type table only. 161 /// Corresponding DIE goes to the plain dwarf only. 164 /// Corresponding DIE goes to type table and to plain dwarf. 180 /// \returns Placement kind for the corresponding die. 185 /// Sets Placement kind for the corresponding die. 193 /// Unsets Placement kind for the corresponding die. 200 /// Sets Placement kind for the corresponding die. [all …]
|
H A D | TypePool.h | 15 #include "llvm/CodeGen/DIE.h" 29 /// Keeps cloned data for the type DIE. 32 /// Returns copy of type DIE which should be emitted into resulting file. 33 DIE &getFinalDie() const { in getFinalDie() 34 if (Die) in getFinalDie() 35 return *Die; in getFinalDie() 41 /// Returns true if type die entry has only declaration die. 42 bool hasOnlyDeclaration() const { return Die == nullptr; } in hasOnlyDeclaration() 44 /// Creates type DIE for the specified name. 53 /// The two kinds of DIE can be kept: declaration and definition. [all …]
|