[PATCH] D20776: [CFLAA] Teach cfl-aa to understand heap memory allocation

Jia Chen via llvm-commits llvm-commits at lists.llvm.org
Mon May 30 10:08:14 PDT 2016


grievejia updated this revision to Diff 58973.
grievejia added a comment.

Replaced isAllocLikeFn() with isMallocLikeFn() || isCallocLikeFn(), just to be consistent with BasicAA.

Also, added a test case.


http://reviews.llvm.org/D20776

Files:
  include/llvm/Analysis/CFLAliasAnalysis.h
  lib/Analysis/CFLAliasAnalysis.cpp
  test/Analysis/CFLAliasAnalysis/malloc-and-free.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20776.58973.patch
Type: text/x-patch
Size: 11702 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160530/32428469/attachment.bin>


More information about the llvm-commits mailing list