commit | 44fe7554c8ef813efde3ea7cc0063dd0ac219259 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Wed Mar 18 17:18:20 2015 -0700 |
committer | Chih-hung Hsieh <chh@google.com> | Wed Mar 25 00:19:16 2015 +0000 |
tree | d2b93d3494e48565c01585b83fbfaffb75e9b28d | |
parent | d73696c1fefface6f3d2311d1dead3afae01b048 [diff] |
Remove special x86 flag that disables tail call optimization. Clang's tail call optimization for position independent code only works when the callee was called (bound in GOT) before the jump through GOT. It does not work for some lazy bound Android tail callee. We used special flag to disable all tail call optimization. This change removes that global flag and depends on clang compiler fix from upstream or the temporary patch in https://android-review.googlesource.com/#/c/142241 See proposed llvm changes and pointers to llvm bugs in https://android-review.googlesource.com/#/c/142792 Change-Id: Idb6e98d6b5f0e4c3676884b69eb3e767eba2491a