llvm-project/lldb/source/Target
Greg Clayton fdeb15635b Cleaned up the ABI::PrepareTrivialCall() function to take three argument
pointers:

        virtual bool
        PrepareTrivialCall (Thread &thread, 
                            lldb::addr_t sp,
                            lldb::addr_t functionAddress,
                            lldb::addr_t returnAddress, 
                            lldb::addr_t *arg1_ptr,
                            lldb::addr_t *arg2_ptr,
                            lldb::addr_t *arg3_ptr) const = 0;

Prior to this it was:

        virtual bool
        PrepareTrivialCall (Thread &thread, 
                            lldb::addr_t sp,
                            lldb::addr_t functionAddress,
                            lldb::addr_t returnAddress, 
                            lldb::addr_t arg,
                            lldb::addr_t *this_arg,
                            lldb::addr_t *cmd_arg) const = 0;

This was because the function that called this slowly added more features to
be able to call a C++ member function that might have a "this" pointer, and 
then later added "self + cmd" support for objective C. Cleaning this code up
and the code that calls it makes it easier to implement the functions for
new targets.

The MacOSX_arm::PrepareTrivialCall() is now filled in and ready for testing.

llvm-svn: 131221
2011-05-12 02:14:56 +00:00
..
ABI.cpp Moved all code from ArchDefaultUnwindPlan and ArchVolatileRegs into their 2011-05-11 18:39:18 +00:00
ArchDefaultUnwindPlan.cpp Put plug-ins into the correct directories as they were incorrectly located 2011-04-25 18:36:36 +00:00
ArchVolatileRegs.cpp Put plug-ins into the correct directories as they were incorrectly located 2011-04-25 18:36:36 +00:00
CPPLanguageRuntime.cpp Remove unneeded ExecutionContextScope variables. 2011-03-31 23:01:21 +00:00
ExecutionContext.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
LanguageRuntime.cpp Replace the vestigial Value::GetOpaqueCLangQualType with the more correct Value::GetValueOpaqueClangQualType. 2010-09-28 01:25:32 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ObjCLanguageRuntime.cpp Adding support for fetching the Dynamic Value for ObjC Objects. 2011-05-02 18:13:59 +00:00
PathMappingList.cpp Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
Platform.cpp Added auto completion for architecture names and for platforms. 2011-04-13 22:47:15 +00:00
Process.cpp Moved all code from ArchDefaultUnwindPlan and ArchVolatileRegs into their 2011-05-11 18:39:18 +00:00
RegisterContext.cpp While implementing unwind information using UnwindAssemblyInstEmulation I ran 2011-05-09 20:18:18 +00:00
SectionLoadList.cpp Added a quicker lookup in the SectionLoadList when looking things up by 2011-02-05 02:25:06 +00:00
StackFrame.cpp Change "frame var" over to using OptionGroups (and thus the OptionGroupVariableObjectDisplay). 2011-05-04 03:43:18 +00:00
StackFrameList.cpp Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
StackID.cpp Added a new bool parameter to many of the DumpStopContext() methods that 2010-09-02 21:44:10 +00:00
StopInfo.cpp Rework the RunThreadPlan event handling to use Event Hijacking not stopping the event thread. Also clarify the logic of the function. 2011-02-08 05:20:59 +00:00
Target.cpp Target::EvaluateExpression should suppress stop hooks. 2011-05-12 02:06:14 +00:00
TargetList.cpp Many improvements to the Platform base class and subclasses. The base Platform 2011-03-30 18:16:51 +00:00
Thread.cpp Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
ThreadList.cpp Fixed the LLDB build so that we can have private types, private enums and 2011-03-24 21:19:54 +00:00
ThreadPlan.cpp Fixed issues with RegisterContext classes and the subclasses. There was 2011-01-06 22:15:06 +00:00
ThreadPlanBase.cpp Rework the RunThreadPlan event handling to use Event Hijacking not stopping the event thread. Also clarify the logic of the function. 2011-02-08 05:20:59 +00:00
ThreadPlanCallFunction.cpp Cleaned up the ABI::PrepareTrivialCall() function to take three argument 2011-05-12 02:14:56 +00:00
ThreadPlanCallUserExpression.cpp Added support for generating expressions that have 2010-12-13 22:46:15 +00:00
ThreadPlanRunToAddress.cpp Typo in looking up the stored address breakpoints, could cause us to look too far for breakpoints. 2011-01-26 19:10:34 +00:00
ThreadPlanShouldStopHere.cpp Enabled extra warnings and fixed a bunch of small issues. 2011-01-25 23:55:37 +00:00
ThreadPlanStepInRange.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepInstruction.cpp Made lldb_private::ArchSpec contain much more than just an architecture. It 2011-02-15 21:59:32 +00:00
ThreadPlanStepOut.cpp Patches from Jean-Daniel: 2011-02-04 17:21:08 +00:00
ThreadPlanStepOverBreakpoint.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepOverRange.cpp Fixed the LLDB build so that we can have private types, private enums and 2011-03-24 21:19:54 +00:00
ThreadPlanStepRange.cpp Formatting. 2011-02-08 04:27:50 +00:00
ThreadPlanStepThrough.cpp Add ThreadPlanTracer class to allow instruction step tracing of execution. 2010-11-11 19:26:09 +00:00
ThreadPlanStepUntil.cpp Added support for stepping out of a frame. If you have 10 stack frames, and you 2011-01-21 06:11:58 +00:00
ThreadPlanTestCondition.cpp Add support for "dynamic values" for C++ classes. This currently only works for "frame var" and for the 2011-04-16 00:01:13 +00:00
ThreadPlanTracer.cpp Moved all code from ArchDefaultUnwindPlan and ArchVolatileRegs into their 2011-05-11 18:39:18 +00:00
ThreadSpec.cpp Fixed an error where the thread index was being returned as zero in "uint32_t SBBreakpoint::GetThreadIndex() const" even when it isn't specified. It should be UINT32_MAX to indicate there is no thread index set for the breakpoint (the breakpoint isn't thread specific). Also fixed the ThreadSpec.cpp to use UINT32_MAX instead of -1. Fixed the logging Printf statement in "uint32_t SBBreakpoint::GetThreadIndex() const" to not print the address of the "index" function from <string.h>! 2010-12-15 20:50:06 +00:00
UnixSignals.cpp Back up both the register AND the stop state when calling functions. 2011-01-20 02:03:18 +00:00
UnwindAssembly.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00