| /freebsd/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 …]
|
| /freebsd/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 &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; 87 DenseMap<const DILocalScope *, SmallVector<DIE *, 2>> InlinedLocalScopeDIEs; 106 DIE &VariableDie); 110 DIE &VariableDie); 114 DIE &VariableDie); 118 DIE &VariableDie); [all …]
|
| H A D | DIEHash.h | 17 #include "llvm/CodeGen/DIE.h" 26 /// attributes onto a DIE. 28 // Collection of all attributes used in hashing a particular DIE. 39 uint64_t computeCUSignature(StringRef DWOName, const DIE &Die); 42 LLVM_ABI_FOR_TEST uint64_t computeTypeSignature(const DIE &Die); 44 // Helper routines to process parts of a DIE. 47 void addParentContext(const DIE &Parent); 49 /// Adds the attributes of \param Die to the hash. 50 void addAttributes(const DIE &Die); 52 /// Computes the full DWARF4 7.27 hash of the DIE. [all …]
|
| H A D | DwarfUnit.cpp | 42 DwarfCompileUnit &CU, DIELoc &DIE) in DIEDwarfExpression() argument 43 : DwarfExpression(AP.getDwarfVersion(), CU), AP(AP), OutDIE(DIE) {} in DIEDwarfExpression() 180 /// Check whether the DIE for this MDNode can be shared across CUs. 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 &Die, dwarf::Attribute Attribute) { in addFlag() argument [all …]
|
| /freebsd/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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFIndex.cpp | 27 const Module::LookupInfo &lookup_info, DWARFDIE die, in ProcessFunctionDIE() argument 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() [all …]
|
| H A D | DWARFASTParserClang.cpp | 97 static bool IsClangModuleFwdDecl(const DWARFDIE &Die) { in IsClangModuleFwdDecl() argument 98 if (!Die.GetAttributeValueAsUnsigned(DW_AT_declaration, 0)) in IsClangModuleFwdDecl() 100 auto Parent = Die.GetParent(); in IsClangModuleFwdDecl() 109 static DWARFDIE GetContainingClangModuleDIE(const DWARFDIE &die) { in GetContainingClangModuleDIE() argument 110 if (die.IsValid()) { in GetContainingClangModuleDIE() 112 // Now make sure this DIE is scoped in a DW_TAG_module tag and return true in GetContainingClangModuleDIE() 114 for (DWARFDIE parent = die.GetParent(); parent.IsValid(); in GetContainingClangModuleDIE() 128 static lldb::ModuleSP GetContainingClangModule(const DWARFDIE &die) { in GetContainingClangModule() argument 129 if (die.IsValid()) { in GetContainingClangModule() 130 DWARFDIE clang_module_die = GetContainingClangModuleDIE(die); in GetContainingClangModule() [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 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's name already has '<>', returns an empty string because [all …]
|
| H A D | DWARFIndex.h | 37 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 41 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 45 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 48 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 51 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 53 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 55 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; 58 /// implementation is provided, and it uses the entire CU to check the DIE 63 llvm::function_ref<bool(DWARFDIE die)> callback); 66 llvm::function_ref<bool(DWARFDIE die)> callback) = 0; [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerCompileUnit.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDie.h | 45 const DWARFDebugInfoEntry *Die = nullptr; variable 50 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {} in DWARFDie() 52 bool isValid() const { return U && Die; } in isValid() 54 const DWARFDebugInfoEntry *getDebugInfoEntry() const { return Die; } in getDebugInfoEntry() 57 /// Get the abbreviation declaration for this DIE. 62 return Die->getAbbreviationDeclarationPtr(); in getAbbreviationDeclarationPtr() 67 /// \returns the DIE offset or -1U if invalid. 70 return Die->getOffset(); in getOffset() 82 return Die->hasChildren(); in hasChildren() 85 /// Returns true for a valid DIE that terminates a sibling chain. [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinkerCompileUnit.h | 14 #include "llvm/CodeGen/DIE.h" 38 DIE::value_iterator I; 42 PatchLocation(DIE::value_iterator I) : I(I) {} in PatchLocation() 43 PatchLocation(DIE::value_iterator I, int64_t Reloc) in PatchLocation() 64 /// instance in the object file to its brand new cloned and generated DIE tree. 67 /// Information gathered about a DIE in the object file. 75 /// Cloned version of that DIE. 76 DIE *Clone; 78 /// The index of this DIE's parent. 81 /// Is the DIE part of the linked output? [all …]
|
| /freebsd/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 …]
|