summaryrefslogtreecommitdiff
path: root/lldb/test/expression_command/call-function/main.cpp
AgeCommit message (Collapse)Author
2015-10-28Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner
This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
2015-07-14Expression evaluation, a new ThreadPlanCallFunctionUsingABI for executing a ↵Ewan Crawford
function call on target via register manipulation For Hexagon we want to be able to call functions during debugging, however currently lldb only supports this when there is JIT support. Although emulation using IR interpretation is an alternative, it is currently limited in that it can't make function calls. In this patch we have extended the IR interpreter so that it can execute a function call on the target using register manipulation. To do this we need to handle the Call IR instruction, passing arguments to a new thread plan and collecting any return values to pass back into the IR interpreter. The new thread plan is needed to call an alternative ABI interface of "ABI::PerpareTrivialCall()", allowing more detailed information about arguments and return values. Reviewers: jingham, spyffe Subscribers: emaste, lldb-commits, ted, ADodds, deepak2427 Differential Revision: http://reviews.llvm.org/D9404 llvm-svn: 242137
2014-07-08If a hand-called function is interrupted by hitting a breakpoint, then Jim Ingham
when you continue to finish off the function call, the expression result will be included as part of the thread stop info. llvm-svn: 212506
2012-09-22Fix all the test case breakages caused by folks writing tests all over the ↵Jim Ingham
place that depended explicitly on the output of "break set". Please don't do this sort of thing!!!!! llvm-svn: 164433
2011-05-19Add TestCallStdStringFunction.py which calls std::string member functions ↵Johnny Chen
while stopped on a breakpoint. llvm-svn: 131680