[Lldb-commits] [lldb] [LLDB][NativePDB] Create functions with mangled name (PR #149701)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 24 05:04:40 PDT 2025


================
@@ -99,6 +99,16 @@ struct SegmentOffset {
   SegmentOffset(uint16_t s, uint32_t o) : segment(s), offset(o) {}
   uint16_t segment = 0;
   uint32_t offset = 0;
+
+  bool operator==(SegmentOffset rhs) const {
+    return segment == rhs.segment && offset == rhs.offset;
+  }
+
+  bool operator<(SegmentOffset rhs) const {
+    if (segment == rhs.segment)
+      return offset < rhs.offset;
+    return segment < rhs.segment;
+  }
----------------
Nerixyz wrote:

No, they're unused now. Removed them.

https://github.com/llvm/llvm-project/pull/149701


More information about the lldb-commits mailing list