[Lldb-commits] [lldb] [lldb] Update TestProcessCrashInfo for MTE (PR #185808)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 10 22:56:28 PDT 2026
https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/185808
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.
>From 02365fa5d5c11667662d1e5fda5423fa3532aa4b Mon Sep 17 00:00:00 2001
From: Jonas Devlieghere <jonas at devlieghere.com>
Date: Tue, 10 Mar 2026 22:53:44 -0700
Subject: [PATCH] [lldb] Update TestProcessCrashInfo for MTE
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.
---
.../functionalities/process_crash_info/TestProcessCrashInfo.py | 1 +
1 file changed, 1 insertion(+)
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
More information about the lldb-commits
mailing list