[compiler-rt] Fix 16-byte alignment for vec allocators on AIX (PR #184967)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 13:25:33 PDT 2026
================
@@ -99,32 +122,59 @@ INTERCEPTOR(void*, vec_calloc, uptr nmemb, uptr size) {
GET_STACK_TRACE_MALLOC;
return asan_vec_calloc(nmemb, size, &stack);
}
+
+// Unlike realloc, vec_realloc must return memory aligned to 16 bytes.
+INTERCEPTOR(void*, vec_realloc, void* ptr, uptr size) {
----------------
midhuncodes7 wrote:
Removed vec_realloc interceptor
https://github.com/llvm/llvm-project/pull/184967
More information about the llvm-commits
mailing list