================
@@ -57,11 +57,15 @@ static void ForEachFormatterInModule(
cursor.seek(cursor.tell() - 1);
break;
}
+ if (!cursor || cursor.tell() >= section_size)
+ break;
----------------
Nerixyz wrote:
> So could we just move the padding loop out? (and use `eof` checks, but that's
> optional).
Yes, I moved it out.
https://github.com/llvm/llvm-project/pull/140139
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits