[PATCH] Enable ARM tail calls for ELF

Tim Northover t.p.northover at gmail.com
Sun Jun 30 03:12:38 PDT 2013


Hi,

The attached patch enables tail calls for every target that hasn't
explicitly been marked as bad (iOS < 5.0). This amounts to any ELF
target and being more liberal on some ghost MachO targets (e.g.
arm-apple-darwin9) that no-one probably cares about.

I think the ELF side is justified because the required linker support
is there in the ARM ELF specification so anywhere it doesn't work has
a broken linker. I've also tested it on Linux and our MCJIT dynamic
loader with no issues.

Does anyone object to the change?

Cheers.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-tail.diff
Type: application/octet-stream
Size: 4596 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130630/7cc689dd/attachment.obj>


More information about the llvm-commits mailing list