[Lldb-commits] [lldb] Initial step in targets DAP support (PR #86623)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 26 17:23:39 PDT 2024
================
@@ -67,6 +67,21 @@ SBAddress SBLineEntry::GetEndAddress() const {
return sb_address;
}
+SBAddress SBLineEntry::GetSameLineContiguousAddressRangeEnd(
+ bool include_inlined_functions) const {
+ LLDB_INSTRUMENT_VA(this);
+
+ SBAddress sb_address;
+ if (m_opaque_up) {
+ AddressRange line_range = m_opaque_up->GetSameLineContiguousAddressRange(
+ include_inlined_functions);
+
+ sb_address.SetAddress(line_range.GetBaseAddress());
+ sb_address.OffsetAddress(line_range.GetByteSize());
+ }
+ return sb_address;
+}
+
----------------
clayborg wrote:
remove this API and use existing ones I spoke about in the inline comment in the header file?
https://github.com/llvm/llvm-project/pull/86623
More information about the lldb-commits
mailing list