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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 19:16:25 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)
----------------
JDevlieghere wrote:

Yeah, I think that'd be a nice addition 👍

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


More information about the lldb-commits mailing list