[libc-commits] [PATCH] D157653: [libc][WIP] move realloc into alloc_checker

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Aug 10 14:23:07 PDT 2023


michaelrj created this revision.
michaelrj added reviewers: sivachandra, mcgrathr, lntue.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
michaelrj requested review of this revision.

By putting all allocation through alloc_checker it's easier to check
when allocation is being done. I didn't find an easy way to use realloc
through new, so currently I just call the function manually.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157653

Files:
  libc/src/__support/CPP/new.h
  libc/src/__support/File/file.cpp
  libc/src/__support/char_vector.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157653.549169.patch
Type: text/x-patch
Size: 3708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230810/0133ba46/attachment.bin>


More information about the libc-commits mailing list