================ @@ -268,7 +268,11 @@ class ScopedErrorReportLock { extern uptr stoptheworld_tracer_pid; extern uptr stoptheworld_tracer_ppid; +// Returns true if we can read a memory range. bool IsAccessibleMemoryRange(uptr beg, uptr size); +// Returns true if we can read a memory range starting at `src`, and copies ---------------- fmayer wrote:
Explicitly say that this might partially copy. https://github.com/llvm/llvm-project/pull/112668 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits