[PATCH] Disable x86 tail call optimization under PIC mode

Joerg Sonnenberger joerg at NetBSD.org
Tue May 26 09:56:43 PDT 2015

This code really should be under an option. As mentioned in the original PR, the origin of the problem is the misdesigned XFree86/Xorg driver interface. We should not pessimise everyone who doesn't create brain dead code. The executive summary of the X bug is:
(1) A module is loaded with a reference to foo. foo is not yet defined.
(2) Another module is lodead that defines foo. X requires the first module to call this.

Ignoring must-tailcall would break all languages that require the optimisation.



More information about the llvm-commits mailing list