[Lldb-commits] [lldb] d8208b0 - Revert "[lldb] Relax the error message in TestProcessCrashInfo.py" (#154197)

via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 18 13:53:15 PDT 2025


Author: Jonas Devlieghere
Date: 2025-08-18T20:53:12Z
New Revision: d8208b0575c7fc03931b678b74acf9e7dedcea8e

URL: https://github.com/llvm/llvm-project/commit/d8208b0575c7fc03931b678b74acf9e7dedcea8e
DIFF: https://github.com/llvm/llvm-project/commit/d8208b0575c7fc03931b678b74acf9e7dedcea8e.diff

LOG: Revert "[lldb] Relax the error message in TestProcessCrashInfo.py" (#154197)

Reverts llvm/llvm-project#153653 because older versions of macOS do not
use the same prefix.

Added: 
    

Modified: 
    lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
index 4924937b4fe25..af05c2f3a0f62 100644
--- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
+++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
@@ -38,7 +38,7 @@ def test_cli(self):
             patterns=[
                 "Extended Crash Information",
                 "Crash-Info Annotations",
-                "BUG IN CLIENT OF LIBMALLOC",
+                "pointer being freed was not allocated",
             ],
         )
 
@@ -67,7 +67,7 @@ def test_api(self):
 
         self.assertTrue(crash_info.IsValid())
 
-        self.assertIn("BUG IN CLIENT OF LIBMALLOC", stream.GetData())
+        self.assertIn("pointer being freed was not allocated", stream.GetData())
 
     # dyld leaves permanent crash_info records when testing on device.
     @skipIfDarwinEmbedded


        


More information about the lldb-commits mailing list