[compiler-rt] [scudo] Add hooks to mark the range of realloc (PR #73883)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 20:43:31 PST 2023


================
@@ -163,23 +208,11 @@ INTERFACE WEAK void *SCUDO_PREFIX(pvalloc)(size_t size) {
 }
 
 INTERFACE WEAK void *SCUDO_PREFIX(realloc)(void *ptr, size_t size) {
-  if (!ptr) {
----------------
ChiaHungDuan wrote:

BTW, I don't have strong opinion on this. Let me know if you think it's better to exclude them

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


More information about the llvm-commits mailing list