[llvm-branch-commits] [sanitizer] Add MemCpyAccessible (PR #112794)

Vitaly Buka via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 17 16:35:30 PDT 2024


================
@@ -219,6 +219,32 @@ static void StopStackDepotBackgroundThread() {
 static void StopStackDepotBackgroundThread() {}
 #endif
 
+void MemCpyAccessible(void *dest, const void *src, uptr n) {
+  if (TryMemCpy(dest, src, n))
----------------
vitalybuka wrote:

Not sure as well. On some examples fast pass 4x faster than page by page.




https://github.com/llvm/llvm-project/pull/112794


More information about the llvm-branch-commits mailing list