[lldb] [llvm] [lldb] Run the LLDB test suite under MTE on capable Apple HW (PR #185780)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 01:46:00 PDT 2026


================
@@ -163,6 +163,30 @@ if (LLDB_ENABLE_LIBEDIT)
   set(CMAKE_EXTRA_INCLUDE_FILES)
 endif()
 
+if (APPLE)
+  set(default_enable_mte OFF)
+
+  # Default to ON on capable hardware when assertions are enabled.
+  if (LLVM_ENABLE_ASSERTIONS)
----------------
DavidSpickett wrote:

I don't get why asserts and MTE have to both be enabled. Is it a technical limitation or are the MTE results only useful with the extra checks that asserts enables?

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


More information about the llvm-commits mailing list