diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2015-11-13 00:42:21 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2015-11-13 00:42:21 +0000 |
commit | 7828b1e604f22e81815a3c2fc357e319f2807bb8 (patch) | |
tree | 0a15c5c8a42974829ad072a1e891cf4cb664ec6c /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | c9dd057e3ccdbe44dd2aa2fd0303ff9a26c45f15 (diff) | |
download | bcm5719-llvm-7828b1e604f22e81815a3c2fc357e319f2807bb8.tar.gz bcm5719-llvm-7828b1e604f22e81815a3c2fc357e319f2807bb8.zip |
Add support for function attribute 'disable_tail_calls'.
The ``disable_tail_calls`` attribute instructs the backend to not
perform tail call optimization inside the marked function.
For example,
int callee(int);
int foo(int a) __attribute__((disable_tail_calls)) {
return callee(a); // This call is not tail-call optimized.
}
Note that this attribute is different from 'not_tail_called', which
prevents tail-call optimization to the marked function.
rdar://problem/8973573
Differential Revision: http://reviews.llvm.org/D12547
llvm-svn: 252986
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions