Attempted patch: Unbreak -Wl,-ObjC

Hi,

I’ve written a patch for http://llvm.org/bugs/show_bug.cgi?id=7431 at http://llvm.org/bugs/attachment.cgi?id=5070 . I’m not terribly familiar with codegen, so chances are the patch breaks something – but it does fix the new test case that the patch adds.

The code touched by the patch was written by ddunbar and lattner, so it’d be great if one of you could have a look :slight_smile:

Thanks,
Nico

Make that http://llvm.org/bugs/attachment.cgi?id=5071 :stuck_out_tongue: