[llvm-commits] Patches to build EFI with clang/llvm

Carl Norum carl.norum at apple.com
Wed Jan 26 14:28:21 PST 2011


On Jan 26, 2011, at 2:17 PM, Carl Norum wrote:
> I'll try to look at those suspicious conditionals that Jakob pointed out yesterday and see if I can clean them up.  As I mentioned before, I'm not that familiar with the code or the changes, but I'll see what I can do.

And here are some new patches.  I extended isTargetMacho() to return true for all Darwin targets, and that helped me clean up a bunch of the funny ones.  I think I have to leave the ones of the form:

	if (Subtarget->isTargetCOFF() && !Subtarget->isTargetMacho())

Until isTargetCOFF() is implemented differently to not return true for all triples containing 'win32'.

Let me know what you think of these patches!

-- Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: macho-2.patch
Type: application/octet-stream
Size: 7164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110126/cd79b74a/attachment.obj>


More information about the llvm-commits mailing list