[Lldb-commits] [lldb] [lldb][NFC] Create StackID::IsYounger (PR #209402)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 14 02:19:44 PDT 2026


================
@@ -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
----------------
DavidSpickett wrote:

I guess that it would be nice to model this "not comparable" state, but it would require refactoring everything else wouldn't it.

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


More information about the lldb-commits mailing list