aboutsummaryrefslogtreecommitdiff
path: root/tools/gccld/gccld.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-13 20:00:02 +0000
committerChris Lattner <sabre@nondot.org>2004-12-13 20:00:02 +0000
commitde97b5788c7843cadab04fb884d5c532b17a093b (patch)
tree9268ae847469a38f699d4a5c839a599fe49ce613 /tools/gccld/gccld.cpp
parent77cc91deaaa06913047869726d9d2890f951aba7 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18908 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccld/gccld.cpp')
0 files changed, 0 insertions, 0 deletions