[Lldb-commits] [PATCH] D125437: [lldb/API] Add SBCompileUnit::GetIndexForLineEntry method to SB API
Med Ismail Bennani via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri May 13 11:27:51 PDT 2022
mib closed this revision.
mib marked an inline comment as done.
mib added a comment.
Landed in a6926d576131c9ad849fef6f1d43134caab5025e <https://reviews.llvm.org/rGa6926d576131c9ad849fef6f1d43134caab5025e>
================
Comment at: lldb/include/lldb/API/SBCompileUnit.h:37
+ uint32_t GetIndexForLineEntry(lldb::SBLineEntry &line_entry,
+ bool exact = false) const;
----------------
JDevlieghere wrote:
> How's this different from `FindLineEntryIndex`? In other words why not make this an `FindLineEntryIndex` overload? It would be good to document this here (too).
We already have a line entry but we just want to get the index in the compile unit, so it made sense to have a separate method for this.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125437/new/
https://reviews.llvm.org/D125437
More information about the lldb-commits
mailing list