diff options
author | bernhardu <bernhardu@mailbox.org> | 2025-09-04 01:34:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-03 16:34:55 -0700 |
commit | d349daa135648e7e18da5be0c38ffbdbc7a208ca (patch) | |
tree | a6c56d8198551fdf63438d140e6c2313c6548ecf /llvm/lib/Target/PowerPC/GISel | |
parent | cc0fb0d41dc67110132d540cebc87cdf12fe00c2 (diff) | |
download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 |
Currently with HEAP_REALLOC_IN_PLACE_ONLY a new allocation
gets returned with the content copied from the original pointer,
which gets freed.
But applications may rely on HEAP_REALLOC_IN_PLACE_ONLY returning
the same pointer as they give as input to e.g. RtlReAllocateHeap.
If e.g. growing is not possible it fails without
modifying the input pointer.
Downside of this patch is, it won't detect accesses to the area
getting "free" by a shrinking reallocation.
Diffstat (limited to 'llvm/lib/Target/PowerPC/GISel')
0 files changed, 0 insertions, 0 deletions