[Lldb-commits] [lldb] Add AddressRange to SB API (PR #92014)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon May 13 15:36:09 PDT 2024
================
@@ -219,6 +219,16 @@ lldb::SBAddress SBBlock::GetRangeEndAddress(uint32_t idx) {
return sb_addr;
}
+lldb::SBAddressRange SBBlock::GetRangeAtIndex(uint32_t idx) {
+ LLDB_INSTRUMENT_VA(this, idx);
+
+ lldb::SBAddressRange sb_range;
+ if (m_opaque_ptr) {
+ m_opaque_ptr->GetRangeAtIndex(idx, sb_range.ref());
+ }
----------------
clayborg wrote:
remove `{}` per coding guidelines
https://github.com/llvm/llvm-project/pull/92014
More information about the lldb-commits
mailing list