[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
================
@@ -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
More information about the lldb-commits
mailing list