summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-05-28 20:44:28 +0000
committerReid Kleckner <reid@kleckner.net>2015-05-28 20:44:28 +0000
commit80956a01425ee0b6e0fd5a7d732b1b288be28a4c (patch)
tree4514a62d555911c6c6080e735ff56fdfe36ee44d /llvm/include/llvm/Support/CommandLine.h
parent322b2c413d07009b4ab66a2ec950fd7def65b6a2 (diff)
downloadbcm5719-llvm-80956a01425ee0b6e0fd5a7d732b1b288be28a4c.tar.gz
bcm5719-llvm-80956a01425ee0b6e0fd5a7d732b1b288be28a4c.zip
Disable x86 tail call optimizations that jump through GOT
For x86 targets, do not do sibling call optimization when materializing the callee's address would require a GOT relocation. We can still do tail calls to internal functions, hidden functions, and protected functions, because they do not require this kind of relocation. It is still possible to get GOT relocations when the user explicitly asks for it with musttail or -tailcallopt, both of which are supposed to guarantee TCO. Based on a patch by Chih-hung Hsieh. Reviewers: srhines, timmurray, danalbert, enh, void, nadav, rnk Subscribers: joerg, davidxl, llvm-commits Differential Revision: http://reviews.llvm.org/D9799 llvm-svn: 238487
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud