[PATCH] D117180: [BasicAliasAnalysis] Switch from isMallocOrCallocLikeFn to onlyAccessesInaccessibleMemory
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 13 12:33:30 PST 2022
xbolva00 added a comment.
In D117180#3241489 <https://reviews.llvm.org/D117180#3241489>, @reames wrote:
> Er, you're correct, but WTF? We consider an operator new "malloc like"? That's simply wrong on so many levels.
>
> Well, then the original code is buggy.
Non throwing version of new (which may return null) is malloc like.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117180/new/
https://reviews.llvm.org/D117180
More information about the llvm-commits
mailing list