MemoryBuiltins: add support to determine the size of strdup'ed non-constant strings
authorNuno Lopes <nunoplopes@sapo.pt>
Wed, 25 Jul 2012 17:29:22 +0000 (17:29 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Wed, 25 Jul 2012 17:29:22 +0000 (17:29 +0000)
commite3094283e38d9e6f6a4a7a14a3a5d0f2af67d5d5
tree86fed444bf0263f4cfc2a78f815c9b6c59e942f7
parenta536835230afcd334068bc6f5781a244938feaf9
MemoryBuiltins: add support to determine the size of strdup'ed non-constant strings

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160742 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemoryBuiltins.h
lib/Analysis/MemoryBuiltins.cpp
lib/Transforms/Instrumentation/BoundsChecking.cpp
test/Instrumentation/BoundsChecking/strings.ll [new file with mode: 0644]