1 %extend lldb::SBAddressRange { 2 #ifdef SWIGPYTHON 3 %pythoncode%{ 4 def __repr__(self): 5 import lldb 6 stream = lldb.SBStream() 7 self.GetDescription(stream, lldb.target if lldb.target else lldb.SBTarget()) 8 return stream.GetData() 9 %} 10 #endif 11 } 12