hanchenye-llvm-project/lldb/source/Target
Greg Clayton c96605461c <rdar://problem/10560053>
Fixed "target modules list" (aliased to "image list") to output more information
by default. Modified the "target modules list" to have a few new options:

"--header" or "-h" => show the image header address
"--offset" or "-o" => show the image header address offset from the address in the file (the slide applied to the shared library)

Removed the "--symfile-basename" or "-S" option, and repurposed it to 
"--symfile-unique" "-S" which will show the symbol file if it differs from
the executable file.

ObjectFile's can now be loaded from memory for cases where we don't have the
files cached locally in an SDK or net mounted root. ObjectFileMachO can now
read mach files from memory.

Moved the section data reading code into the ObjectFile so that the object
file can get the section data from Process memory if the file is only in
memory.

lldb_private::Module can now load its object file in a target with a rigid 
slide (very common operation for most dynamic linkers) by using:

bool 
Module::SetLoadAddress (Target &target, lldb::addr_t offset, bool &changed)

lldb::SBModule() now has a new constructor in the public interface:

SBModule::SBModule (lldb::SBProcess &process, lldb::addr_t header_addr);

This will find an appropriate ObjectFile plug-in to load an image from memory
where the object file header is at "header_addr".

llvm-svn: 149804
2012-02-05 02:38:54 +00:00
..
ABI.cpp Fixed a dangling pointer bug associated with the 2012-01-05 01:11:09 +00:00
CPPLanguageRuntime.cpp Adding support for an "equivalents map". This can be useful when compilers emit multiple, different names for the same actual type. In such scenarios, one of the type names can actually be found during a type lookup, while the others are just aliases. This can cause issues when trying to work with these aliased names and being unable to resolve them to an actual type (e.g. getting an SBType for the aliased name). 2012-02-03 01:41:25 +00:00
ExecutionContext.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
LanguageRuntime.cpp
Makefile
Memory.cpp Added an allocated memory cache to avoid having to allocate memory over and 2011-05-17 03:37:42 +00:00
ObjCLanguageRuntime.cpp Added a new class to the lldb python module: 2012-02-01 01:46:19 +00:00
OperatingSystem.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
PathMappingList.cpp rdar://problem/10227672 2011-12-12 21:59:28 +00:00
Platform.cpp Use a pseudoterminal for local processes if no STDIO redirection or other 2011-11-17 22:14:31 +00:00
Process.cpp <rdar://problem/10560053> 2012-02-05 02:38:54 +00:00
RegisterContext.cpp Added the ability to get the return value from a ThreadPlanCallFunction 2011-05-15 01:25:55 +00:00
SectionLoadList.cpp One more fix to: 2011-05-18 18:22:47 +00:00
StackFrame.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
StackFrameList.cpp Fixed the Xcode project building of LLVM to be a bit more user friendly: 2011-11-04 03:34:56 +00:00
StackID.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
StopInfo.cpp Fix a typo in the error message of the StopInfoWatchpoint class. 2012-01-24 23:19:25 +00:00
Target.cpp <rdar://problem/10560053> 2012-02-05 02:38:54 +00:00
TargetList.cpp Add comment explaining the default constructor (ArchSpec) used in CreateTarget(). 2012-01-05 01:26:01 +00:00
Thread.cpp Threads now store their "temporary" resume state, so we know whether they were suspended in the most 2012-01-31 23:09:20 +00:00
ThreadList.cpp Threads now store their "temporary" resume state, so we know whether they were suspended in the most 2012-01-31 23:09:20 +00:00
ThreadPlan.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanBase.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanCallFunction.cpp Improve the x86_64 return value decoder to handle most structure returns. 2011-12-22 19:12:40 +00:00
ThreadPlanCallUserExpression.cpp Improve the x86_64 return value decoder to handle most structure returns. 2011-12-22 19:12:40 +00:00
ThreadPlanRunToAddress.cpp Using the wrong type for the break id's (user_id_t is an unsigned int, but internal breakpoints can be negative, and anyway it is a good idea to use break_id_t for breakpoints, no?) 2011-11-10 01:12:26 +00:00
ThreadPlanShouldStopHere.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepInRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +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 Add the ability to capture the return value in a thread's stop info, and print it 2011-12-17 01:35:57 +00:00
ThreadPlanStepOverBreakpoint.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
ThreadPlanStepOverRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepRange.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepThrough.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepUntil.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
ThreadPlanTestCondition.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
ThreadPlanTracer.cpp We were leaking a stack frame in StackFrameList in Thread.cpp which could 2011-08-12 21:40:01 +00:00
ThreadSpec.cpp Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This 2011-12-01 23:28:38 +00:00
UnixSignals.cpp Fixed some issues with ARM backtraces by not processing any push/pop 2011-07-06 04:07:21 +00:00
UnwindAssembly.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00