================ @@ -29,6 +29,9 @@ class LLDB_API SBLineEntry { lldb::SBAddress GetEndAddress() const; + lldb::SBAddress + GetSameLineContiguousAddressRangeEnd(bool include_inlined_functions) const; + ---------------- clayborg wrote:
We don't need this API right? We spoke about using existing APIs for this. I believe we can find the index the SBLineEntry in the line table using: ``` uint32_t SBCompileUnit::FindLineEntryIndex(lldb::SBLineEntry &line_entry, bool exact = false) const; ``` And then you can use: ``` lldb::SBLineEntry SBCompileUnit::GetLineEntryAtIndex(uint32_t idx) const; ``` With the next index until the line doesn't match. https://github.com/llvm/llvm-project/pull/86623 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits