xref: /freebsd/contrib/llvm-project/lldb/bindings/interface/SBAddressRangeExtensions.i (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
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