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

Jia Chen via llvm-commits llvm-commits at lists.llvm.org
Sat May 28 14:32:21 PDT 2016


grievejia created this revision.
grievejia added reviewers: george.burgess.iv, hfinkel.
grievejia added a subscriber: llvm-commits.

Cfl-aa used to bail out and make the most conservative assumption on any external library functions (any input or output parameter may alias just about anything). This patch tries to make it less conservative when seeing an external function that allocate/deallocate heap memory, e.g. malloc(), calloc(), and free(). 

http://reviews.llvm.org/D20776

Files:
  include/llvm/Analysis/CFLAliasAnalysis.h
  lib/Analysis/CFLAliasAnalysis.cpp

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


More information about the llvm-commits mailing list