[PATCH] ARM: sort out MachO target checks
t.p.northover at gmail.com
Thu Dec 12 04:27:15 PST 2013
This patch is designed so that LLVM can accept the "arm-none-macho" triple and do something sensible with it. As a result, the bulk is sorting out the ARM backend's weird and inconsistent use of the isTargetIOS, isTargetDarwin, isTargetMachO tests, which it previously considered to be basically the same thing.
I also had to choose a set of reasonable defaults for "none-macho", a combination of iOS and ELF behaviour (we want AAPCS, but not RTABI, and some other iOS conventions to hold). I've tried to test most of these in a specific added test, with some explanations.
Could someone look over it and make sure I've not done something stupid?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 35428 bytes
Desc: not available
More information about the llvm-commits