================
@@ -79,6 +79,27 @@ enum class PacketStatus {
enum class ReplMode { Variable = 0, Command, Auto };
+class Gotos {
+public:
+ /// \return the line_entry corresponding with \p id
+ ///
+ /// If \p id is invalid std::nullopt is returned.
+ std::optional<lldb::SBLineEntry> GetLineEntry(uint64_t id) const;
+
+ /// Insert a new \p line_entry.
+ /// \return id assigned to this line_entry.
+ uint64_t InsertLineEntry(lldb::SBLineEntry line_entry);
+
+ /// Clears all line entries and reset the generated ids.
+ void Clear();
----------------
da-viper wrote:
Yes, It is used here.
https://github.com/llvm/llvm-project/blob/a2a2cb85e5f17a7468970c6014947918d9805e80/lldb/tools/lldb-dap/DAP.h#L378-L379
https://github.com/llvm/llvm-project/pull/130503
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits