]> granicus.if.org Git - clang/commit
Ensure return from a message to nil is always 0 (GNU runtime).
authorDavid Chisnall <csdavec@swan.ac.uk>
Tue, 27 Apr 2010 15:08:48 +0000 (15:08 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Tue, 27 Apr 2010 15:08:48 +0000 (15:08 +0000)
commit664b7c74aff2ccdf9d13eae08b3466326fc6cc1f
tree6224a4460da387c86f38cc1509b77805382145dd
parent50810d355ab2cf3f11f4e6c478a1df7c1f9f233d
Ensure return from a message to nil is always 0 (GNU runtime).

This works around stack corruption / crashes resulting from PR6944, and also
works around people who expect 'what works on my machine' to work everywhere
(GCC crashes in a number of cases on SPARC that should now work correctly with
clang).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102430 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCGNU.cpp