[compiler-rt] [compiler-rt][memprof] memccpy interception (PR #155101)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 14:35:05 PDT 2025


================
@@ -49,6 +49,16 @@ int internal_memcmp(const void* s1, const void* s2, uptr n) {
   return 0;
 }
 
+void *internal_memccpy(void *dest, const void *src, int c, uptr n) {
----------------
teresajohnson wrote:

It would be good to have a test for this. Unfortunately, I don't see any internal_* functions being tested in compiler-rt/test right now, but it would make sense to start with this one.

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


More information about the llvm-commits mailing list