Commit Graph

5 Commits

Author SHA1 Message Date
Chris Lattner
194878fbac Don't call memset if malloc returns a null pointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16797 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 23:08:03 +00:00
Misha Brukman
b49fa616d4 Disable __attribute__((weak)) on Mac OS X and other lame platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10489 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-16 22:57:30 +00:00
Misha Brukman
a5df0cdbe2 Make all memory functions have weak linkage so that they can be overridden with
custom memory-management implementations (e.g., bash).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10478 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 22:32:50 +00:00
Chris Lattner
d6c68c417b Fixes to be LP64 correct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2950 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 00:15:29 +00:00
Chris Lattner
c1e20acc68 Checkin library infrastructure for building stuff to be linked with
gccld


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1842 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-08 23:20:52 +00:00