
This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.
12 lines
279 B
OpenEdge ABL
12 lines
279 B
OpenEdge ABL
%extend lldb::SBAddressRange {
|
|
#ifdef SWIGPYTHON
|
|
%pythoncode%{
|
|
def __repr__(self):
|
|
import lldb
|
|
stream = lldb.SBStream()
|
|
self.GetDescription(stream, lldb.target if lldb.target else lldb.SBTarget())
|
|
return stream.GetData()
|
|
%}
|
|
#endif
|
|
}
|