llvm-project/lldb/source/Expression
Greg Clayton 70b5765740 Added the ability to get the return value from a ThreadPlanCallFunction
thread plan. In order to get the return value, you can call:

        void
        ThreadPlanCallFunction::RequestReturnValue (lldb::ValueSP &return_value_sp);
        
This registers a shared pointer to a return value that will get filled in if
everything goes well. After the thread plan is run the return value will be
extracted for you.

Added an ifdef to be able to switch between the LLVM MCJIT and the standand JIT.
We currently have the standard JIT selected because we have some work to do to
get the MCJIT fuctioning properly.

Added the ability to call functions with 6 argument in the x86_64 ABI.

Added the ability for GDBRemoteCommunicationClient to detect if the allocate
and deallocate memory packets are supported and to not call allocate memory 
("_M") or deallocate ("_m") if we find they aren't supported.

Modified the ProcessGDBRemote::DoAllocateMemory(...) and ProcessGDBRemote::DoDeallocateMemory(...) 
to be able to deal with the allocate and deallocate memory packets not being 
supported. If they are not supported, ProcessGDBRemote will switch to calling
"mmap" and "munmap" to allocate and deallocate memory instead using our 
trivial function call support.

Modified the "void ProcessGDBRemote::DidLaunchOrAttach()" to correctly ignore 
the qHostInfo triple information if any was specified in the target. Currently 
if the target only specifies an architecture when creating the target:

(lldb) target create --arch i386 a.out

Then the vendor, os and environemnt will be adopted by the target.

If the target was created with any triple that specifies more than the arch:

(lldb) target create --arch i386-unknown-unknown a.out

Then the target will maintain its triple and not adopt any new values. This
can be used to help force bare board debugging where the dynamic loader for
static files will get used and users can then use "target modules load ..."
to set addressses for any files that are desired.

Added back some convenience functions to the lldb_private::RegisterContext class
for writing registers with unsigned values. Also made all RegisterContext
constructors explicit to make sure we know when an integer is being converted
to a RegisterValue. 

llvm-svn: 131370
2011-05-15 01:25:55 +00:00
..
ASTDumper.cpp Added a new class, ASTDumper, that provides verbose 2011-02-01 23:43:26 +00:00
ASTResultSynthesizer.cpp Updated to LLVM/Clang revision 127600. 2011-03-15 00:17:19 +00:00
ASTStructExtractor.cpp Order of initialization lists. 2011-04-11 19:41:40 +00:00
ClangASTSource.cpp Introduced support for UnknownAnyTy, the Clang type 2011-05-12 23:54:16 +00:00
ClangExpressionDeclMap.cpp For cases where a const function is inaccurately reported 2011-05-13 18:27:02 +00:00
ClangExpressionParser.cpp Added the ability to get the return value from a ThreadPlanCallFunction 2011-05-15 01:25:55 +00:00
ClangExpressionVariable.cpp Fix up how the ValueObjects manage their life cycle so that you can hand out a shared 2011-04-22 23:53:53 +00:00
ClangFunction.cpp Made expressions that are just casts of pointer 2011-05-07 01:06:41 +00:00
ClangPersistentVariables.cpp Convert ValueObject to explicitly maintain the Execution Context in which they were created, and then use that when they update themselves. That means all the ValueObject evaluate me type functions that used to require a Frame object now do not. I didn't remove the SBValue API's that take this now useless frame, but I added ones that don't require the frame, and marked the SBFrame taking ones as deprecated. 2011-03-31 00:19:25 +00:00
ClangUserExpression.cpp Fixed a bug in which expression-local variables were 2011-05-09 22:04:36 +00:00
ClangUtilityFunction.cpp Made expressions that are just casts of pointer 2011-05-07 01:06:41 +00:00
DWARFExpression.cpp While implementing unwind information using UnwindAssemblyInstEmulation I ran 2011-05-09 20:18:18 +00:00
IRDynamicChecks.cpp Updated LLVM to pick up fixes to the ARM instruction 2011-04-14 02:01:31 +00:00
IRForTarget.cpp Added support for reading untyped symbols. Right now 2011-05-08 02:21:26 +00:00
IRToDWARF.cpp Order of initialization lists. 2011-04-11 19:41:40 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
RecordingMemoryManager.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00