================
@@ -50,6 +50,11 @@ class StackID {
 
   void Dump(Stream *s);
 
+  /// Returns true if `lhs` corresponds to a frame younger (i.e. higher on the
+  /// call stack) than `rhs`, and false otherwise (including when the frames 
are
+  /// not comparable).
+  static bool IsYounger(const StackID &lhs, const StackID &rhs);
----------------
felipepiovezan wrote:

No sorting done today, I believe. The member function approach does indeed read 
nicer, I'll do it.

https://github.com/llvm/llvm-project/pull/209402
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to