llvm-project/lldb/source/API
Greg Clayton 00e6fbfee9 Make the SBAddress class easier to use when using the public
API. 

SBTarget changes include changing:

bool
SBTarget::ResolveLoadAddress (lldb::addr_t vm_addr, 
                              lldb::SBAddress& addr);

to be:

lldb::SBAddress
SBTarget::ResolveLoadAddress (lldb::addr_t vm_addr);

SBAddress can how contruct itself using a load address and a target 
which can be used to resolve the address:

SBAddress (lldb::addr_t load_addr, lldb::SBTarget &target);

This will actually just call the new SetLoadAddress accessor:

void
SetLoadAddress (lldb::addr_t load_addr, 
                lldb::SBTarget &target);

This function will always succeed in making a SBAddress object
that can be used in API calls (even if "target" isn't valid).
If "target" is valid and there are sections currently loaded,
then it will resolve the address to a section offset address if
it can. Else an address with a NULL section and an offset that is
the "load_addr" that was passed in. We do this because a load address
might be from the heap or stack.

llvm-svn: 135770
2011-07-22 16:46:35 +00:00
..
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
SBAddress.cpp Make the SBAddress class easier to use when using the public 2011-07-22 16:46:35 +00:00
SBBlock.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBBreakpoint.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBreakpointLocation.cpp Make SBBreakpointLocation::GetDescription() API to be consistent with SBTarget, 2011-04-25 20:23:05 +00:00
SBBroadcaster.cpp Added a less than operator that will compare the internal opaque pointer values so SBBroadcaster objects can be contained in ordered containers or sorted. 2010-12-05 23:14:19 +00:00
SBCommandInterpreter.cpp Python summary strings: 2011-07-15 02:26:42 +00:00
SBCommandReturnObject.cpp - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
SBCommunication.cpp Test lldb Python API object's default constructor and make sure it is invalid 2011-06-20 22:30:48 +00:00
SBCompileUnit.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBDebugger.cpp Added the notion of an system root for SDKs. This is a directory where all 2011-06-17 03:31:01 +00:00
SBError.cpp Made the string representation for a SBValue return what "frame variable" 2011-07-06 16:49:27 +00:00
SBEvent.cpp Fixed a crasher when trying to get event data flavors on events that don't 2010-12-05 19:21:02 +00:00
SBFileSpec.cpp Add missing headers. 2011-04-08 13:36:44 +00:00
SBFrame.cpp Fixed some issues with ARM backtraces by not processing any push/pop 2011-07-06 04:07:21 +00:00
SBFunction.cpp Cleaned up the Disassembler code a bit more. You can now request a disassembler 2011-03-25 18:03:16 +00:00
SBHostOS.cpp Add error message; clean up comment. 2011-06-14 16:36:12 +00:00
SBInputReader.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBInstruction.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00
SBInstructionList.cpp Test lldb Python API object's default constructor and make sure it is invalid 2011-06-20 22:30:48 +00:00
SBLineEntry.cpp Add missing headers. 2011-04-08 13:36:44 +00:00
SBListener.cpp Added a SBListener parameter to Launch and attach calls to avoid a race 2011-02-03 21:28:34 +00:00
SBModule.cpp Make the SBAddress class easier to use when using the public 2011-07-22 16:46:35 +00:00
SBProcess.cpp Fixed SBTarget attach calls to properly deal with being connected to a remotely 2011-06-24 03:21:43 +00:00
SBSourceManager.cpp Fixed the SymbolContext::DumpStopContext() to correctly indent and dump 2011-04-23 02:04:55 +00:00
SBStream.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
SBStringList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBSymbol.cpp Added some functions to our API related to classifying symbols as code, data, 2011-03-31 01:08:07 +00:00
SBSymbolContext.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBSymbolContextList.cpp Added the ability to find functions from either a SBModule (find functions 2011-06-21 01:34:41 +00:00
SBTarget.cpp Make the SBAddress class easier to use when using the public 2011-07-22 16:46:35 +00:00
SBThread.cpp StepUntil should check whether the target of the step until is in the current 2011-05-08 00:56:32 +00:00
SBType.cpp Fixed the global and static variables to always be in scope. 2011-07-09 20:12:33 +00:00
SBValue.cpp when typing a summary string you can use the %S symbol to explicitly indicate that you want the summary to be used to print the target object 2011-07-22 00:16:08 +00:00
SBValueList.cpp Added support for finding and global variables in the SBTarget and SBModule 2011-06-29 22:09:02 +00:00