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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 24 04:52:33 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;
+  }
----------------
Michael137 wrote:

What do we need these for again?

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


More information about the lldb-commits mailing list