[compiler-rt] [win/asan] Improve SharedReAlloc with HEAP_REALLOC_IN_PLACE_ONLY. (PR #132558)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Wed May 28 14:21:40 PDT 2025
thurstond wrote:
> I made now a bigger modification, which still tries to leave the chunk in an allocated state. But to show the stack of the partially free needed disabling a few checks IsQuarantined.
I'm kind of nervous that this patch now involves changes to the core ASan allocator. Indeed, it breaks Linux tests: https://buildkite.com/llvm-project/github-pull-requests/builds/184040#0197181e-8ad6-4377-bf55-de70d4efb035
> An example output of the test is here, would that be usable?
"partially freed" (as opposed to "freed") is an unnecessary and potentially confusing distinction IMO. The stack trace will already show it is from realloc.
https://github.com/llvm/llvm-project/pull/132558
More information about the llvm-commits
mailing list