@@ -233,7 +233,7 @@ static void PrintStackAllocations(const StackAllocationsRingBuffer *sa,
233
233
if (obj_offset >= local.size )
234
234
continue ;
235
235
if (!found_local) {
236
- Printf (" Potentially referenced stack objects:\n " );
236
+ Printf (" \n Potentially referenced stack objects:\n " );
237
237
found_local = true ;
238
238
}
239
239
Printf (" %s in %s %s:%d\n " , local.name , local.function_name ,
@@ -363,7 +363,7 @@ static void PrintTagsAroundAddr(uptr addr, GetTag get_tag,
363
363
InternalScopedString s;
364
364
addr = MemToShadow (addr);
365
365
s.AppendF (
366
- " Memory tags around the buggy address (one tag corresponds to %zd "
366
+ " \n Memory tags around the buggy address (one tag corresponds to %zd "
367
367
" bytes):\n " ,
368
368
kShadowAlignment );
369
369
PrintTagInfoAroundAddr (addr, kShadowLines , s,
@@ -803,8 +803,10 @@ void BaseReport::PrintAddressDescription() const {
803
803
}
804
804
805
805
// Print the remaining threads, as an extra information, 1 line per thread.
806
- if (flags ()->print_live_threads_info )
806
+ if (flags ()->print_live_threads_info ) {
807
+ Printf (" \n " );
807
808
hwasanThreadList ().VisitAllLiveThreads ([&](Thread *t) { t->Announce (); });
809
+ }
808
810
809
811
if (!num_descriptions_printed)
810
812
// We exhausted our possibilities. Bail out.
@@ -1020,7 +1022,7 @@ void ReportTagMismatch(StackTrace *stack, uptr tagged_addr, uptr access_size,
1020
1022
// See the frame breakdown defined in __hwasan_tag_mismatch (from
1021
1023
// hwasan_tag_mismatch_{aarch64,riscv64}.S).
1022
1024
void ReportRegisters (const uptr *frame, uptr pc) {
1023
- Printf (" Registers where the failure occurred (pc %p):\n " , pc);
1025
+ Printf (" \n Registers where the failure occurred (pc %p):\n " , pc);
1024
1026
1025
1027
// We explicitly print a single line (4 registers/line) each iteration to
1026
1028
// reduce the amount of logcat error messages printed. Each Printf() will
0 commit comments