[Lldb-commits] [lldb] [lldb] Fixed TestProcessModificationIdOnExpr to work on both x86 and x64 architectures (PR #138941)
    David Spickett via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu May  8 03:16:56 PDT 2025
    
    
  
================
@@ -36,34 +39,49 @@ int main() {
 }
 
 // CHECK-LABEL: process status -d
-// CHECK: m_stop_id: 2
-// CHECK: m_memory_id: 0
+// CHECK: m_stop_id: [[#STOP_ID:]]
+// CHECK: m_memory_id: [[#MEMORY_ID:]]
 
 // CHECK-LABEL: expr x.i != 42
 // IDs are not changed when executing simple expressions
 
 // CHECK-LABEL: process status -d
-// CHECK: m_stop_id: 2
-// CHECK: m_memory_id: 0
+// CHECK: m_stop_id: [[#STOP_ID]]
+// CHECK: m_memory_id: [[#MEMORY_ID]]
+
+// CHECK-LABEL: process status -d
+// Remember new values
----------------
DavidSpickett wrote:
Oh I see what you mean. Otherwise you have to unravel the sequence to add anything new and we're liable to make a mistake.
https://github.com/llvm/llvm-project/pull/138941
    
    
More information about the lldb-commits
mailing list