Lines Matching refs:offsets
455 gold_warning(_("%s: DWARF info may be corrupt; offsets in a "
1719 // Offsets to logicals and actuals tables.
2408 // lack relocs, and offsets are unique, so we can ignore the section
2426 offset_to_iterator(const std::vector<Offset_to_lineno_entry>* offsets,
2432 // If no offset in offsets is >= lookup_key, returns end().
2434 = std::lower_bound(offsets->begin(), offsets->end(), lookup_key);
2437 // Here's a possible offsets array:
2467 // offsets[0]. Since it's not an exact match and we're
2468 // at the beginning of offsets, we return end() (invalid).
2472 // offsets[0] exactly, and that's the entry we return.
2474 // offsets[4]. That's an exact match, but indicates
2475 // end-of-function. We check if offsets[5] is also an
2477 // return offsets[5].
2479 // offsets[1]. Since it's not an exact match, we back
2480 // up to the offset that's < lookup_key, offsets[0].
2481 // We note offsets[0] is a valid entry (not end-of-function),
2484 // offsets[8]. Since it's not an exact match, we back
2485 // up to offsets[7]. Since offsets[7] indicates
2489 // offsets[19]. Since it's not an exact match, we back
2490 // up to offsets[16]. Note we back up to the *first*
2491 // entry with offset 5793, not just offsets[19-1].
2492 // We note offsets[16] is a valid entry, so we return it.
2493 // If offsets[16] had had line_num == -1, we would have
2494 // checked offsets[17]. The reason for this is that
2502 if ((it == offsets->begin() && offset < it->offset)
2503 || it == offsets->end())
2504 return offsets->end();
2509 while (it != offsets->end()
2513 if (it == offsets->end() || it->offset != offset)
2514 return offsets->end();
2521 gold_assert(it != offsets->begin());
2525 while (it != offsets->begin() && (it-1)->offset == range_value)
2536 return offsets->end();
2556 const std::vector<Offset_to_lineno_entry>* offsets;
2561 offsets = &this->line_number_map_[shndx];
2563 offsets = &this->line_number_map_[-1U];
2564 if (offsets->empty())
2568 = offset_to_iterator(offsets, offset);
2569 if (it == offsets->end())
2581 for (++it; it != offsets->end(); ++it)