add a new pass to instrument loads and stores for run-time bounds checking
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 22 May 2012 17:19:09 +0000 (17:19 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 22 May 2012 17:19:09 +0000 (17:19 +0000)
commita2f6cecb6d18bcc59d6c702378ed0701cd0208ae
treed30157d739179b1567aec86d98043fb4519576ea
parent78d084d942ad1fed22f0b5a5adabd0554c56ccfe
add a new pass to instrument loads and stores for run-time bounds checking
move EmitGEPOffset from InstCombine to Transforms/Utils/Local.h

(a draft of this) patch reviewed by Andrew, thanks.

llvm-svn: 157261
llvm/include/llvm/InitializePasses.h
llvm/include/llvm/LinkAllPasses.h
llvm/include/llvm/Transforms/Scalar.h
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/Transforms/InstCombine/InstCombine.h
llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
llvm/lib/Transforms/Scalar/BoundsChecking.cpp [new file with mode: 0644]
llvm/lib/Transforms/Scalar/Scalar.cpp