aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorVictor Hernandez <vhernandez@apple.com>2009-09-18 19:20:02 +0000
committerVictor Hernandez <vhernandez@apple.com>2009-09-18 19:20:02 +0000
commit811ebe0ef3c476c5cbf04d6c2bf362f56a650eec (patch)
tree67e7dc39ea2679b1d969d34e5d08ea176aa7d569 /tools
parent600abb363005c6b5abc9385b35c37720cb2eacbf (diff)
downloadexternal_llvm-811ebe0ef3c476c5cbf04d6c2bf362f56a650eec.zip
external_llvm-811ebe0ef3c476c5cbf04d6c2bf362f56a650eec.tar.gz
external_llvm-811ebe0ef3c476c5cbf04d6c2bf362f56a650eec.tar.bz2
Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type).
In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants. Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array. Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type. Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls. Add verification for malloc calls. Reviewed by Dan Gohman. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82257 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions