llvm-project/lldb/test/expression_command
Ewan Crawford 90ff791141 Expression evaluation, a new ThreadPlanCallFunctionUsingABI for executing a 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
2015-07-14 10:56:58 +00:00
..
call-function Expression evaluation, a new ThreadPlanCallFunctionUsingABI for executing a function call on target via register manipulation 2015-07-14 10:56:58 +00:00
call-restarts Added expectedFlakey test decorator 2015-06-26 15:13:21 +00:00
call-throws Replace sys.platform skips in tests with @skip decorators which check against remote platform. 2015-03-30 14:12:17 +00:00
char Make several test case arm32 compatible 2015-04-17 09:37:06 +00:00
expr-in-syscall Fix final wait in ExprSyscallTestCase for aarch64 2015-07-06 10:02:56 +00:00
formatters Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
issue_11588 Make Test11588 compatible with non x86/x86_64 architecture 2015-04-01 10:45:44 +00:00
persist_objc_pointeetype Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
persistent_ptr_update Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
persistent_types Fixed a serious bug in DeportType where the types could retain DeclContexts that 2015-07-08 18:03:41 +00:00
persistent_variables Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
po_verbosity Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
radar_8638051 Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
radar_9531204 Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
radar_9673664 Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
test Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
timeout Added expectedFlakey test decorator 2015-06-26 15:13:21 +00:00
two-files Reversed r238363, because the message is inconsistent 2015-07-01 23:56:30 +00:00
.categories Initial commit of a new testsuite feature: test categories. 2012-09-21 19:10:53 +00:00