Lines Matching refs:sc
185 SourceLoc(const SymbolContext &sc) in SourceLoc()
186 : line(sc.line_entry.line), in SourceLoc()
187 column(sc.line_entry.column ? sc.line_entry.column in SourceLoc()
215 all_scs.begin(), all_scs.end(), [&](const SymbolContext &sc) { in SetSCMatchesByLine() argument
216 if (sc.line_entry.file == match.line_entry.file || in SetSCMatchesByLine()
217 sc.line_entry.original_file == match.line_entry.original_file) { in SetSCMatchesByLine()
219 closest_line = std::min(closest_line, sc.line_entry.line); in SetSCMatchesByLine()
236 [&](const SymbolContext &sc) { return requested < SourceLoc(sc); }); in SetSCMatchesByLine() argument
246 worklist_begin, worklist_end, [&](const SymbolContext &sc) { in SetSCMatchesByLine() argument
247 return SourceLoc(*worklist_begin) < SourceLoc(sc); in SetSCMatchesByLine()
255 [&](const SymbolContext &sc) { in SetSCMatchesByLine() argument
256 return closest_line != sc.line_entry.line; in SetSCMatchesByLine()
276 [&](const SymbolContext &sc) { in SetSCMatchesByLine() argument
277 return blocks_with_breakpoints.count(sc.block); in SetSCMatchesByLine()
282 for (auto &sc : llvm::make_range(worklist_begin, worklist_end)) in SetSCMatchesByLine() local
283 AddLocation(filter, sc, skip_prologue, log_ident); in SetSCMatchesByLine()
291 const SymbolContext &sc, in AddLocation() argument
295 Address line_start = sc.line_entry.range.GetBaseAddress(); in AddLocation()
313 if (skip_prologue && sc.function) { in AddLocation()
314 Address prologue_addr(sc.function->GetAddressRange().GetBaseAddress()); in AddLocation()
316 const uint32_t prologue_byte_size = sc.function->GetPrologueByteSize(); in AddLocation()