Lines Matching full:loc
28 uptr Loc = StackTrace::GetPreviousInstructionPc(CallerLoc);
31 if (!SymbolizeCode(Loc, &Info, 1) || !Info.module || !*Info.module)
32 return Location(Loc);
69 static void renderLocation(Location Loc) {
70 switch (Loc.getKind()) {
72 SourceLocation SLoc = Loc.getSourceLocation();
83 Printf("%s:0x%zx:", Loc.getModuleLocation().getModuleName(),
84 Loc.getModuleLocation().getOffset());
87 Printf("%p:", Loc.getMemoryLocation());
144 /// Find the earliest-starting range in Ranges which ends after Loc.
145 static Range *upperBound(MemoryLocation Loc, Range *Ranges,
149 if (Ranges[I].getEnd().getMemoryLocation() > Loc &&
159 MemoryLocation Loc,
165 // Show at least the 8 bytes surrounding Loc.
166 MemoryLocation Min = Loc - MinBytesNearLoc, Max = Loc + MinBytesNearLoc;
172 // If we have too many interesting bytes, prefer to show bytes after Loc.
174 Min = __sanitizer::Min(Max - BytesToShow, Loc - MinBytesNearLoc);
192 if (!InRange && P > Loc)
198 char Buffer[] = { Pad, Pad, P == Loc ? '^' : Byte, Byte, 0 };
243 renderLocation(Loc);
260 if (Loc.isMemoryLocation())
261 renderMemorySnippet(Decor, Loc.getMemoryLocation(), Ranges,