Introduce a pointertracking pass.
authorTorok Edwin <edwintorok@gmail.com>
Tue, 14 Jul 2009 18:44:28 +0000 (18:44 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Tue, 14 Jul 2009 18:44:28 +0000 (18:44 +0000)
commit969f28dfb6478b1759cb13a216d3dc5515a889d1
tree6c198e48481a327fd32bb7bf88a4adf41f8731f1
parent91bc4936a2c7f333548234a0f6a2be65608896ef
Introduce a pointertracking pass.
For now this only computes the allocated size of the memory pointed to by a
pointer, and offset a pointer from allocated pointer.
The actual checkLimits part will come later, after another round of review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75657 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/PointerTracking.h [new file with mode: 0644]
include/llvm/LinkAllPasses.h
lib/Analysis/PointerTracking.cpp [new file with mode: 0644]
test/Analysis/PointerTracking/dg.exp [new file with mode: 0644]
test/Analysis/PointerTracking/sizes.ll [new file with mode: 0644]