/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 …]
|
H A D | t_readdir | 43 /bin/ls -a | grep '^\.$' >/dev/null || die 44 /bin/ls -a | grep '^\..$' >/dev/null || die 47 mkdir dir || die 48 touch reg || die 49 ln -s reg lnk || die 50 mknod b blk 0 0 || die 51 mknod c chr 0 0 || die 52 mkfifo fifo || die 53 ${Src_Dir}/h_tools sockets sock || die 56 ls >/dev/null || 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; 102 DIE &VariableDie); 106 DIE &VariableDie); 110 DIE &VariableDie); 114 DIE &VariableDie); 118 DIE &VariableDie); [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() 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/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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFASTParserClang.cpp | 94 static bool IsClangModuleFwdDecl(const DWARFDIE &Die) { in IsClangModuleFwdDecl() argument 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() argument 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() argument 126 if (die.IsValid()) { in GetContainingClangModule() 127 DWARFDIE clang_module_die = GetContainingClangModuleDIE(die); in GetContainingClangModule() [all …]
|
H A D | DWARFDIE.cpp | 28 /// DW_AT_specification and DW_AT_abstract_origin attributes) a given DIE. For 29 /// convenience, the starting die is included in the sequence as the first 49 DWARFDIE die = m_worklist.back(); in Next() local 54 if (DWARFDIE d = die.GetReferencedDIE(attr)) in Next() 55 if (m_seen.insert(die.GetDIE()).second) in Next() 61 /// An iterator starting at die d. 82 elaborating_dies(const DWARFDIE &die) { in elaborating_dies() argument 83 return llvm::make_range(ElaboratingDIEIterator(die), in elaborating_dies() 218 // stream object. If the DIE is a NULL object "NULL" is placed into the stream, 219 // and if no DW_AT_name attribute exists for the DIE then nothing is printed. [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's name already has '<>', returns an empty string because [all …]
|
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 …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
H A D | DWARFLinkerCompileUnit.h |
|
H A D | DWARFLinker.h |
|
/freebsd/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 part of the linked output? [all …]
|