Home
last modified time | relevance | path

Searched full:cu (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_info.c35 Dwarf_CU cu; in _dwarf_info_first_cu() local
39 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_first_cu()
40 if (cu != NULL) { in _dwarf_info_first_cu()
41 dbg->dbg_cu_current = cu; in _dwarf_info_first_cu()
87 Dwarf_CU cu; in _dwarf_info_next_cu() local
91 cu = STAILQ_NEXT(dbg->dbg_cu_current, cu_next); in _dwarf_info_next_cu()
92 if (cu != NULL) { in _dwarf_info_next_cu()
93 dbg->dbg_cu_current = cu; in _dwarf_info_next_cu()
114 Dwarf_CU cu; in _dwarf_info_next_tu() local
118 cu = STAILQ_NEXT(dbg->dbg_tu_current, cu_next); in _dwarf_info_next_tu()
[all …]
H A Ddwarf_die.c37 Dwarf_CU cu; in dwarf_child() local
51 cu = die->die_cu; in dwarf_child()
52 ds = cu->cu_is_info ? dbg->dbg_info_sec : dbg->dbg_types_sec; 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()
69 Dwarf_CU cu; in dwarf_siblingof_b() local
81 cu = is_info ? dbg->dbg_cu_current : dbg->dbg_tu_current; in dwarf_siblingof_b()
83 if (cu == NULL) { in dwarf_siblingof_b()
88 /* Application requests the first DIE in this CU. */ in dwarf_siblingof_b()
90 return (dwarf_offdie_b(dbg, cu->cu_1st_offset, is_info, in dwarf_siblingof_b()
[all …]
H A Dlibdwarf_abbrev.c33 _dwarf_abbrev_add(Dwarf_CU cu, uint64_t entry, uint64_t tag, uint8_t children, in _dwarf_abbrev_add() argument
39 dbg = cu != NULL ? cu->cu_dbg : NULL; in _dwarf_abbrev_add()
58 if (cu != NULL) in _dwarf_abbrev_add()
59 HASH_ADD(ab_hh, cu->cu_abbrev_hash, ab_entry, in _dwarf_abbrev_add()
100 _dwarf_abbrev_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Unsigned *offset, in _dwarf_abbrev_parse() argument
124 ret = _dwarf_abbrev_add(cu, entry, 0, 0, aboff, abp, in _dwarf_abbrev_parse()
134 if ((ret = _dwarf_abbrev_add(cu, entry, tag, children, aboff, in _dwarf_abbrev_parse()
155 _dwarf_abbrev_find(Dwarf_CU cu, uint64_t entry, Dwarf_Abbrev *abp, in _dwarf_abbrev_find() argument
167 HASH_FIND(ab_hh, cu->cu_abbrev_hash, &entry, sizeof(entry), ab); in _dwarf_abbrev_find()
173 if (cu->cu_abbrev_loaded) { in _dwarf_abbrev_find()
[all …]
H A Dlibdwarf_die.c52 _dwarf_die_add(Dwarf_CU cu, uint64_t offset, uint64_t abnum, Dwarf_Abbrev ab, in _dwarf_die_add() argument
59 assert(cu != NULL); in _dwarf_die_add()
62 dbg = cu->cu_dbg; in _dwarf_die_add()
70 die->die_cu = cu; in _dwarf_die_add()
71 die->die_dbg = cu->cu_dbg; in _dwarf_die_add()
78 /* Find die at offset 'off' within the same CU. */
84 Dwarf_CU cu; in _dwarf_die_find() local
89 cu = die->die_cu; in _dwarf_die_find()
91 ds = cu->cu_is_info ? dbg->dbg_info_sec : dbg->dbg_types_sec; in _dwarf_die_find()
93 ret = _dwarf_die_parse(dbg, ds, cu, cu->cu_dwarf_size, off, in _dwarf_die_find()
[all …]
H A Ddwarf_cu.c40 Dwarf_CU cu; in dwarf_next_cu_header_c() local
71 cu = dbg->dbg_cu_current; in dwarf_next_cu_header_c()
77 cu = dbg->dbg_tu_current; in dwarf_next_cu_header_c()
81 *cu_length = cu->cu_length; in dwarf_next_cu_header_c()
83 *cu_version = cu->cu_version; in dwarf_next_cu_header_c()
85 *cu_abbrev_offset = (Dwarf_Off) cu->cu_abbrev_offset; in dwarf_next_cu_header_c()
87 *cu_pointer_size = cu->cu_pointer_size; in dwarf_next_cu_header_c()
89 if (cu->cu_length_size == 4) in dwarf_next_cu_header_c()
95 if (cu->cu_length_size == 4) in dwarf_next_cu_header_c()
101 *cu_next_offset = cu->cu_next_offset; in dwarf_next_cu_header_c()
[all …]
H A Dlibdwarf_loclist.c32 _dwarf_loclist_add_locdesc(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, in _dwarf_loclist_add_locdesc() argument
43 start = dbg->read(ds->ds_data, off, cu->cu_pointer_size); in _dwarf_loclist_add_locdesc()
44 end = dbg->read(ds->ds_data, off, cu->cu_pointer_size); in _dwarf_loclist_add_locdesc()
51 *total_len += 2 * cu->cu_pointer_size; in _dwarf_loclist_add_locdesc()
60 if ((cu->cu_pointer_size == 4 && start == ~0U) || in _dwarf_loclist_add_locdesc()
61 (cu->cu_pointer_size == 8 && start == ~0ULL)) in _dwarf_loclist_add_locdesc()
77 ds->ds_data + *off, len, cu->cu_pointer_size, in _dwarf_loclist_add_locdesc()
78 cu->cu_length_size == 4 ? 4 : 8, cu->cu_version, in _dwarf_loclist_add_locdesc()
94 _dwarf_loclist_find(Dwarf_Debug dbg, Dwarf_CU cu, uint64_t lloff, in _dwarf_loclist_find() argument
116 ret = _dwarf_loclist_add_locdesc(dbg, cu, ds, &off, NULL, &ldlen, in _dwarf_loclist_find()
[all …]
H A Ddwarf_arange.c96 Dwarf_CU cu; in dwarf_get_cu_die_offset() local
106 cu = as->as_cu; in dwarf_get_cu_die_offset()
107 assert(cu != NULL); in dwarf_get_cu_die_offset()
110 DWARF_SET_ERROR(cu->cu_dbg, error, DW_DLE_ARGUMENT); in dwarf_get_cu_die_offset()
114 *ret_offset = cu->cu_1st_offset; in dwarf_get_cu_die_offset()
147 Dwarf_CU cu; in dwarf_get_arange_info() local
157 cu = as->as_cu; in dwarf_get_arange_info()
158 assert(cu != NULL); in dwarf_get_arange_info()
162 DWARF_SET_ERROR(cu->cu_dbg, error, DW_DLE_ARGUMENT); in dwarf_get_arange_info()
168 *cu_die_offset = cu->cu_1st_offset; in dwarf_get_arange_info()
H A Dlibdwarf_ranges.c32 _dwarf_ranges_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, in _dwarf_ranges_parse() argument
41 start = dbg->read(ds->ds_data, &off, cu->cu_pointer_size); in _dwarf_ranges_parse()
42 end = dbg->read(ds->ds_data, &off, cu->cu_pointer_size); in _dwarf_ranges_parse()
49 else if ((start == ~0U && cu->cu_pointer_size == 4) || in _dwarf_ranges_parse()
50 (start == ~0ULL && cu->cu_pointer_size == 8)) in _dwarf_ranges_parse()
103 _dwarf_ranges_add(Dwarf_Debug dbg, Dwarf_CU cu, uint64_t off, in _dwarf_ranges_add() argument
123 ret = _dwarf_ranges_parse(dbg, cu, ds, off, NULL, &cnt); in _dwarf_ranges_add()
138 ret = _dwarf_ranges_parse(dbg, cu, ds, off, rl->rl_rgarray, in _dwarf_ranges_add()
H A Dlibdwarf_attr.c99 int dwarf_size, Dwarf_CU cu, Dwarf_Die die, Dwarf_AttrDef ad, in _dwarf_attr_init() argument
117 cu->cu_pointer_size); in _dwarf_attr_init()
159 return (_dwarf_attr_init(dbg, ds, offsetp, dwarf_size, cu, die, in _dwarf_attr_init()
162 if (cu->cu_version == 2) in _dwarf_attr_init()
164 cu->cu_pointer_size); in _dwarf_attr_init()
216 Dwarf_CU cu, Dwarf_Attribute at, int pass2, Dwarf_Error *error) in _dwarf_attr_write() argument
222 assert(dbg != NULL && ds != NULL && cu != NULL && at != NULL); in _dwarf_attr_write()
240 dwarf_drt_data_reloc, cu->cu_pointer_size, in _dwarf_attr_write()
244 ret = WRITE_VALUE(at->u[0].u64, cu->cu_pointer_size); in _dwarf_attr_write()
319 * DIE within the CU. And if we don't know the ref DIE's in _dwarf_attr_write()
[all …]
H A Ddwarf_lineno.c38 Dwarf_CU cu; in dwarf_srclines() local
54 cu = die->die_cu; in dwarf_srclines()
55 if (cu->cu_lineinfo == NULL) { in dwarf_srclines()
60 if (cu->cu_lineinfo == NULL) { in dwarf_srclines()
65 li = cu->cu_lineinfo; in dwarf_srclines()
100 Dwarf_CU cu; in dwarf_srcfiles() local
116 cu = die->die_cu; in dwarf_srcfiles()
117 if (cu->cu_lineinfo == NULL) { in dwarf_srcfiles()
122 if (cu->cu_lineinfo == NULL) { in dwarf_srcfiles()
127 li = cu->cu_lineinfo; in dwarf_srcfiles()
/freebsd/lib/libc/rpc/
H A Dclnt_dg.c205 struct cu_data *cu = NULL; /* private data */ in clnt_dg_create() local
239 cu = mem_alloc(sizeof (*cu) + sendsz + recvsz); in clnt_dg_create()
240 if (cu == NULL) in clnt_dg_create()
242 (void) memcpy(&cu->cu_raddr, svcaddr->buf, (size_t)svcaddr->len); in clnt_dg_create()
243 cu->cu_rlen = svcaddr->len; in clnt_dg_create()
244 cu->cu_outbuf = &cu->cu_inbuf[recvsz]; in clnt_dg_create()
246 cu->cu_wait.tv_sec = 15; /* heuristically chosen */ in clnt_dg_create()
247 cu->cu_wait.tv_usec = 0; in clnt_dg_create()
248 cu->cu_total.tv_sec = -1; in clnt_dg_create()
249 cu->cu_total.tv_usec = -1; in clnt_dg_create()
[all …]
/freebsd/sys/rpc/
H A Dclnt_dg.c183 struct cu_data *cu = NULL; /* private data */ in clnt_dg_create() local
222 cu = mem_alloc(sizeof (*cu)); in clnt_dg_create()
223 cu->cu_threads = 0; in clnt_dg_create()
224 cu->cu_closing = FALSE; in clnt_dg_create()
225 cu->cu_closed = FALSE; in clnt_dg_create()
226 (void) memcpy(&cu->cu_raddr, svcaddr, (size_t)svcaddr->sa_len); in clnt_dg_create()
227 cu->cu_rlen = svcaddr->sa_len; in clnt_dg_create()
229 cu->cu_wait.tv_sec = 3; /* heuristically chosen */ in clnt_dg_create()
230 cu->cu_wait.tv_usec = 0; in clnt_dg_create()
231 cu->cu_total.tv_sec = -1; in clnt_dg_create()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp120 DWARFUnit *cu, const char *&name, const char *&mangled, in GetDIENamesAndRanges() argument
130 SymbolFileDWARF &dwarf = cu->GetSymbolFileDWARF(); in GetDIENamesAndRanges()
133 if (const auto *abbrevDecl = GetAbbreviationDeclarationPtr(cu)) { in GetDIENamesAndRanges()
134 const DWARFDataExtractor &data = cu->GetData(); in GetDIENamesAndRanges()
143 DWARFFormValue form_value(cu); in GetDIENamesAndRanges()
177 ranges = GetRangesOrReportError(*cu, *this, form_value); in GetDIENamesAndRanges()
239 cu); in GetDIENamesAndRanges()
241 DataExtractor data = cu->GetLocationData(); in GetDIENamesAndRanges()
246 assert(lo_pc >= cu->GetBaseAddress()); in GetDIENamesAndRanges()
247 DWARFExpression::ParseDWARFLocationList(cu, data, frame_base); in GetDIENamesAndRanges()
[all …]
H A DDWARFDebugInfoEntry.h49 void BuildFunctionAddressRangeTable(DWARFUnit *cu,
52 bool Extract(const DWARFDataExtractor &data, const DWARFUnit &cu,
56 DWARFAttributes GetAttributes(DWARFUnit *cu,
59 GetAttributes(cu, attrs, recurse, 0 /* curr_depth */);
64 GetAttributeValue(const DWARFUnit *cu, const dw_attr_t attr,
70 const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value,
74 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
78 const DWARFUnit *cu, const dw_attr_t attr,
82 const DWARFUnit *cu, const dw_attr_t attr,
86 const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value,
[all …]
H A DDWARFBaseDIE.h32 DWARFBaseDIE(DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE() argument
33 : m_cu(cu), m_die(die) {} in DWARFBaseDIE()
35 DWARFBaseDIE(const DWARFUnit *cu, DWARFDebugInfoEntry *die) in DWARFBaseDIE() argument
36 : m_cu(const_cast<DWARFUnit *>(cu)), m_die(die) {} in DWARFBaseDIE()
38 DWARFBaseDIE(DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE() argument
39 : m_cu(cu), m_die(const_cast<DWARFDebugInfoEntry *>(die)) {} in DWARFBaseDIE()
41 DWARFBaseDIE(const DWARFUnit *cu, const DWARFDebugInfoEntry *die) in DWARFBaseDIE() argument
42 : m_cu(const_cast<DWARFUnit *>(cu)), in DWARFBaseDIE()
63 void Set(DWARFUnit *cu, DWARFDebugInfoEntry *die) { in Set() argument
64 if (cu && die) { in Set()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp68 for (const std::unique_ptr<DWARFUnit> &CU : in addObjectFile() local
70 DWARFDie CUDie = CU->getUnitDIE(); in addObjectFile()
76 OnCUDieLoaded(*CU); in addObjectFile()
258 static void resolveRelativeObjectPath(SmallVectorImpl<char> &Buf, DWARFDie CU) { in resolveRelativeObjectPath() argument
259 sys::path::append(Buf, dwarf::toString(CU.find(dwarf::DW_AT_comp_dir), "")); in resolveRelativeObjectPath()
308 GlobalData.warn("anonymous module skeleton CU for " + PCMFile + ".", in isClangModuleRef()
337 /// If this compile unit is really a skeleton CU that points to a
340 /// A skeleton CU is a CU without children, a DW_AT_gnu_dwo_name
398 for (const auto &CU : ErrOrObj->Dwarf->compile_units()) { in loadClangModule() local
399 OnCUDieLoaded(*CU); in loadClangModule()
[all …]
/freebsd/contrib/mandoc/
H A Dpreconv.c35 const unsigned char *cu; in preconv_encode() local
39 cu = (const unsigned char *)ib->buf + *ii; in preconv_encode()
40 assert(*cu & 0x80); in preconv_encode()
46 while (nby < 5 && *cu & (1 << (7 - nby))) in preconv_encode()
51 accum = *cu & 0x1f; in preconv_encode()
56 accum = *cu & 0x0f; in preconv_encode()
59 accum = *cu & 0x07; in preconv_encode()
67 cu++; in preconv_encode()
70 if ((accum == 0x00 && ! (*cu & 0x20)) || /* Use 2-byte. */ in preconv_encode()
71 (accum == 0x0d && *cu & 0x20)) /* Surrogates. */ in preconv_encode()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Drtw8821cu.c64 MODULE_DESCRIPTION("Realtek 802.11ac wireless 8821cu driver");
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFGdbIndex.cpp28 OS << format("\n CU list offset = 0x%x, has %" PRId64 " entries:", in dumpCUList()
32 for (const CompUnitEntry &CU : CuList) in dumpCUList() local
33 OS << format(" %d: Offset = 0x%llx, Length = 0x%llx\n", I++, CU.Offset, in dumpCUList()
34 CU.Length); in dumpCUList()
38 OS << formatv("\n Types CU list offset = {0:x}, has {1} entries:\n", in dumpTUList()
53 " Low/High address = [0x%llx, 0x%llx) (Size: 0x%llx), CU id = %d\n", in dumpAddressArea()
69 OS << format(" %d: Name offset = 0x%x, CU vector offset = 0x%x\n", I, in dumpSymbolTable()
82 OS << format(" String name: %s, CU vector index: %d\n", Name.data(), in dumpSymbolTable()
88 OS << format("\n Constant pool offset = 0x%x, has %" PRId64 " CU vectors:", in dumpConstantPool()
140 // CU Types are no longer needed as DWARF skeleton type units never made it in parseImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfFile.cpp44 // because they added no information beyond the non-split CU) in emitUnit()
58 // Offset from the first CU in the debug info section is 0 initially. in computeSizeAndOffsets()
62 // DIE within each compile unit. All offsets are CU relative. in computeSizeAndOffsets()
68 // because they added no information beyond the non-split CU) in computeSizeAndOffsets()
81 // CU-relative offset is reset to 0 here. in computeSizeAndOffsetsForUnit()
85 // The return value here is CU-relative, after laying out in computeSizeAndOffsetsForUnit()
86 // all of the CU DIE. in computeSizeAndOffsetsForUnit()
91 // CU. It returns the offset after laying out the DIE.
123 DwarfFile::addRange(const DwarfCompileUnit &CU, SmallVector<RangeSpan, 2> R) { in addScopeLabel()
125 RangeSpanList{Asm->createTempSymbol("debug_ranges"), &CU, st in addScopeLabel()
128 addRange(const DwarfCompileUnit & CU,SmallVector<RangeSpan,2> R) addRange() argument
[all...]
/freebsd/sys/net/
H A Dbridgestp.c269 struct bstp_config_unit *cu) in bstp_decode_bpdu() argument
273 cu->cu_pv.pv_root_id = in bstp_decode_bpdu()
282 cu->cu_pv.pv_dbridge_id = in bstp_decode_bpdu()
291 cu->cu_pv.pv_cost = ntohl(cpdu->cbu_rootpathcost); in bstp_decode_bpdu()
292 cu->cu_message_age = ntohs(cpdu->cbu_messageage); in bstp_decode_bpdu()
293 cu->cu_max_age = ntohs(cpdu->cbu_maxage); in bstp_decode_bpdu()
294 cu->cu_hello_time = ntohs(cpdu->cbu_hellotime); in bstp_decode_bpdu()
295 cu->cu_forward_delay = ntohs(cpdu->cbu_forwarddelay); in bstp_decode_bpdu()
296 cu->cu_pv.pv_dport_id = ntohs(cpdu->cbu_portid); in bstp_decode_bpdu()
297 cu->cu_pv.pv_port_id = bp->bp_port_id; in bstp_decode_bpdu()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp64 auto CU = llvm::upper_bound( in getUnitForOffset() local
68 return CU != Units.end() ? CU->get() : nullptr; in getUnitForOffset()
185 static void resolveRelativeObjectPath(SmallVectorImpl<char> &Buf, DWARFDie CU) { in resolveRelativeObjectPath() argument
186 sys::path::append(Buf, dwarf::toString(CU.find(dwarf::DW_AT_comp_dir), "")); in resolveRelativeObjectPath()
192 const DWARFDie &DIE, CompileUnit &CU, in analyzeImportedModule() argument
195 if (CU.getLanguage() != dwarf::DW_LANG_Swift) in analyzeImportedModule()
207 SysRoot = CU.getSysRoot(); in analyzeImportedModule()
223 DWARFDie CUDie = CU.getOrigUnit().getUnitDIE(); in analyzeImportedModule()
268 static bool updatePruning(const DWARFDie &Die, CompileUnit &CU, in updatePruning() argument
270 CompileUnit::DIEInfo &Info = CU.getInfo(Die); in updatePruning()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp540 namespace CU { namespace
575 } // end CU namespace
606 return CU::UNWIND_ARM64_MODE_FRAMELESS; in generateCompactUnwindEncoding()
609 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
622 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
633 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
636 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
640 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
643 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
646 return CU::UNWIND_ARM64_MODE_DWARF; in generateCompactUnwindEncoding()
[all …]
/freebsd/usr.bin/tip/tip/
H A DMakefile35 LINKS= ${BINDIR}/tip ${BINDIR}/cu
36 MAN= tip.1 cu.1
41 SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c log.c partab.c \
56 # is no cu(1) with the schg-bit set.
58 .if exists(${DESTDIR}${BINDIR}/cu)
59 -chflags noschg ${DESTDIR}${BINDIR}/cu

12345678910>>...14