llvm-project/lldb/scripts
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
..
Python Make the SBAddress class easier to use when using the public 2011-07-22 16:46:35 +00:00
build-llvm.pl This commit integrates support for the LLVM MCJIT 2011-05-23 21:40:23 +00:00
build-swig-wrapper-classes.sh Look for swig in /usr/bin and /usr/local/bin. 2011-03-01 01:39:04 +00:00
checkpoint-llvm.pl This commit integrates support for the LLVM MCJIT 2011-05-23 21:40:23 +00:00
disasm-gdb-remote.pl Update the handle many of the packets that our current LLDB debugserver 2011-06-02 22:21:38 +00:00
finish-swig-wrapper-classes.sh Parameterize the shell scripts for creating and copying the python and 2010-06-16 19:26:52 +00:00
generate-vers.pl Update autogen'd LLDB_vers.c. 2011-03-23 02:07:56 +00:00
install-lldb.sh Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
lldb.swig Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
sed-sources Switched over to using the new lldb::SharingPtr from Howard Hinnant. 2010-06-12 17:45:57 +00:00