[PATCH] Disable x86 tail call optimizations that jump through GOT
rnk at google.com
Thu May 28 14:04:44 PDT 2015
Thanks for the patch! I simplified the conditional a bit and tweaked the tests to try to cover some more corner cases that I could think of. During testing I found that this disabled tail calling of internal (think static in C) functions, so I added hasLocalLinkage() to the conditional. I committed the result as r238487.
More information about the llvm-commits