[Lldb-commits] [lldb] [lldb] Update TestProcessCrashInfo for MTE (PR #185808)

via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 10 22:57:02 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Jonas Devlieghere (JDevlieghere)

<details>
<summary>Changes</summary>

With MTE, the issue is caught by hardware and libmalloc records a different message: "BUG IN CLIENT OF LIBMALLOC: MTE tag mismatch (probable double-free)". Update the test accordingly.

---
Full diff: https://github.com/llvm/llvm-project/pull/185808.diff


1 Files Affected:

- (modified) lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py (+1) 


``````````diff
diff --git a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
index c143da2bf94fb..835b9c72a4be2 100644
--- a/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
+++ b/lldb/test/API/functionalities/process_crash_info/TestProcessCrashInfo.py
@@ -26,6 +26,7 @@ def containsLibmallocError(self, output):
         for error in [
             "pointer being freed was not allocated",
             "not an allocated block",
+            "MTE tag mismatch",
         ]:
             if error in output:
                 return True

``````````

</details>


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


More information about the lldb-commits mailing list