diff options
author | Chris Lattner <sabre@nondot.org> | 2004-12-13 20:00:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-12-13 20:00:02 +0000 |
commit | 8f430a3b59199bac455fd32d8e5204a7a40d0cae (patch) | |
tree | 4199fbc142de6fab25f65788bd7636e2ea4cd8f3 /llvm/lib/Support/FileUtilities.cpp | |
parent | 94bf2265df04e74faca356eefb77fdf53b152ae9 (diff) | |
download | bcm5719-llvm-8f430a3b59199bac455fd32d8e5204a7a40d0cae.tar.gz bcm5719-llvm-8f430a3b59199bac455fd32d8e5204a7a40d0cae.zip |
Get rid of getSizeOf, using ConstantExpr::getSizeOf instead.
do not insert a prototype for malloc of: void* malloc(uint): on 64-bit u
targets this is not correct. Instead of prototype it as void *malloc(...),
and pass the correct intptr_t through the "...".
Finally, fix Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll, by not
forming constantexpr casts from pointer to uint.
llvm-svn: 18908
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
0 files changed, 0 insertions, 0 deletions