Lines Matching +full:- +full:- +full:requested +full:- +full:by
1 //===-- BreakpointResolver.cpp --------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
103 if (!success || !subclass_options || !subclass_options->IsValid()) {
110 success = subclass_options->GetValueForKeyAsInteger(
150 result_sp->SetOffset(offset);
156 if (!options_dict_sp || !options_dict_sp->IsValid())
160 type_dict_sp->AddStringItem(GetSerializationSubclassKey(), GetResolverName());
161 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp);
164 options_dict_sp->AddIntegerItem(GetKey(OptionNames::Offset), m_offset);
216 lang && lang->IgnoreForLineBreakpoints(sc))
229 sc.line_entry.original_file_sp->Equal(
243 // If a column was requested, do a more precise match and only
245 // requested location.
246 SourceLoc requested(line, *column);
247 // First, filter out all entries left of the requested column.
250 [&](const SymbolContext &sc) { return requested < SourceLoc(sc); });
251 // Sort the remaining entries by (line, column).
274 // Sort by file address.
283 // We do this by picking the first location in each lexical block.
286 assert(!blocks_with_breakpoints.count(first->block));
287 blocks_with_breakpoints.insert(first->block);
299 // Remove all contexts processed by this iteration.
328 Address prologue_addr = sc.function->GetAddress();
330 const uint32_t prologue_byte_size = sc.function->GetPrologueByteSize();
353 if (!bp_loc_sp->SetPreferredLineEntry(sc.line_entry)) {
358 if (log && bp_loc_sp && !GetBreakpoint()->IsInternal()) {
360 bp_loc_sp->GetDescription(&s, lldb::eDescriptionLevelVerbose);
369 return GetBreakpoint()->AddLocation(loc_addr, new_location);
374 // addresses by the difference.
375 // lldb::addr_t slide = offset - m_offset;