[compiler-rt] [win/asan] Improve SharedReAlloc with HEAP_REALLOC_IN_PLACE_ONLY. (PR #132558)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 27 07:51:08 PDT 2025
================
@@ -322,6 +322,22 @@ void *SharedReAlloc(ReAllocFunction reallocFunc, SizeFunction heapSizeFunc,
}
}
+ if (dwFlags & HEAP_REALLOC_IN_PLACE_ONLY) {
----------------
bernhardu wrote:
This is because line 367 is not reached. Instead the function is left via `reallocFunc(hHeap, dwFlags, lpMem, dwBytes);` in line 321.
https://github.com/llvm/llvm-project/pull/132558
More information about the llvm-commits
mailing list