aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorEhud Katz <ehudkatz@gmail.com>2019-11-28 08:27:50 +0200
committerEhud Katz <ehudkatz@gmail.com>2019-11-28 08:27:50 +0200
commit825debe847d15a5670eff54745a6691145ddfae1 (patch)
treebc5bb46e4bfd34e808dcf988506aa8f7522ff064 /lldb/source/Commands/CommandObjectThread.cpp
parent735f4793f13d799a1ad480192567a62cc8158bf1 (diff)
downloadllvm-825debe847d15a5670eff54745a6691145ddfae1.zip
llvm-825debe847d15a5670eff54745a6691145ddfae1.tar.gz
llvm-825debe847d15a5670eff54745a6691145ddfae1.tar.bz2
[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 I propose 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/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions