src/developer/debug/zxdb/symbols/module_symbols_impl.cc
bool SameFileLine(const llvm::DWARFDebugLine::Row& reference,
                  const llvm::DWARFDebugLine::Row& candidate, bool greedy) {
  if (greedy && candidate.Line == 0)
    return true;
  return reference.File == candidate.File && reference.Line == candidate.Line;
}
// The order of the parameters matters because "line 0" is handled in "greedy" mode only for the
// candidate line. If the caller is asking about an address that matches line 0, we don't want to
// expand that past line boundaries, but we do want to expand other lines actoss line 0 in greedy
// mode.
The order of the parameters matters because "line 0" is handled in "greedy" mode only for the
candidate line. If the caller is asking about an address that matches line 0, we don't want to
expand that past line boundaries, but we do want to expand other lines actoss line 0 in greedy
mode.
The order of the parameters matters because " line 0 " is handled in " greedy " mode only for the candidate line . If the caller is asking about an address that matches line 0 we don ' t want to expand that past line boundaries but we do want to expand other lines actoss line 0 in greedy mode .
bool SameFileLine(const llvm::DWARFDebugLine::Row& reference,
                  const llvm::DWARFDebugLine::Row& candidate, bool greedy) {
  if (greedy && candidate.Line == 0)
    return true;
  return reference.File == candidate.File && reference.Line == candidate.Line;
}
bool SameFileLine ( const llvm :: DWARFDebugLine :: Row & reference , const llvm :: DWARFDebugLine :: Row & candidate , bool greedy ) { if ( greedy && candidate . Line == 0 ) return true ; return reference . File == candidate . File && reference . Line == candidate . Line ; }
The order of the parameters matters because "line 0" is handled in "greedy" mode only for the
candidate line.
The order of the parameters matters because " line 0 " is handled in " greedy " mode only for the candidate line .