diff options
author | Ehud Katz <ehudkatz@gmail.com> | 2019-11-05 09:45:51 +0200 |
---|---|---|
committer | Ehud Katz <ehudkatz@gmail.com> | 2019-11-23 19:02:59 +0200 |
commit | 854e956219e78cb8d7ef3b021d7be6b5d6b6af04 (patch) | |
tree | e25890ef580c989fb8e8911da479f7470fa0d58e /lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py | |
parent | 7af53d75c60bf5c09157daeebff86b9e594bf1ee (diff) | |
download | bcm5719-llvm-854e956219e78cb8d7ef3b021d7be6b5d6b6af04.tar.gz bcm5719-llvm-854e956219e78cb8d7ef3b021d7be6b5d6b6af04.zip |
[InlineCost] Fix infinite loop in indirect call evaluation
Currently every time we encounter an indirect call of a known function,
we try to evaluate the inline cost of that function. In case of a
recursion, that evaluation never stops.
The solution presented is to evaluate only the indirect call of the
function, while any further indirect calls (of a known function) will be
treated just as direct function calls, which, actually, never tries to
evaluate the call.
Fixes PR35469.
Differential Revision: https://reviews.llvm.org/D69349
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py')
0 files changed, 0 insertions, 0 deletions