[llvm-branch-commits] [compiler-rt] [sanitizer] Add TryMemCpy (PR #112668)
Florian Mayer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 17 16:31:52 PDT 2024
================
@@ -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
More information about the llvm-branch-commits
mailing list