Lines Matching defs:abbrev
2833 "invalid abbrev code: %s",
2837 "abbrev code too large for DWARF32: %" PRIu64,
2843 "abbrev code not found in abbrev table: %" PRIu32,
2879 "unrecognized form encoding %d in abbrev table", a.Form);
2891 // Canonicalize abbrev by placing the CU/TU index at the end.
2983 TimeTraceScope timeScope("Merge .debug_names", "hdr and abbrev table");
3017 // Create the merged abbrev table, uniquifyinng the input abbrev tables and
3018 // computing mapping from old (per-cu) abbrev codes to new (merged) abbrev
3027 // Canonicalize abbrev by placing the CU/TU index at the end,
3029 Abbrev abbrev;
3032 abbrev.code = oldAbbrev.Code;
3033 abbrev.tag = oldAbbrev.Tag;
3038 abbrev.attributes.push_back({a.Index, a.Form});
3041 abbrev.attributes.push_back(cuAttr);
3043 // Profile the abbrev, get or assign a new code, then record the abbrev
3046 abbrev.Profile(id);
3054 new (abbrevAlloc.Allocate()) Abbrev(std::move(abbrev));
3065 // Compute the merged abbrev table.
3067 for (Abbrev *abbrev : abbrevTable) {
3068 encodeULEB128(abbrev->code, os);
3069 encodeULEB128(abbrev->tag, os);
3070 for (DWARFDebugNames::AttributeEncoding a : abbrev->attributes) {
3076 os.write(0); // abbrev table end
3115 // Update the IndexEntry's abbrev code to match the merged
3174 const Abbrev *abbrev = abbrevTable[ie.abbrevCode - 1];
3175 for (const auto &[a, v] : zip_equal(abbrev->attributes, ie.attrValues))
3220 // Compute section header (except unit_length), abbrev table, and entry pool.
3364 // Write the abbrev table.