[Lldb-commits] [lldb] 1a08f41 - [lldb] Disable arm64e tests under ASan (#189052)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 27 09:49:59 PDT 2026
Author: Jonas Devlieghere
Date: 2026-03-27T16:49:55Z
New Revision: 1a08f41281bff6ee35d6d904c702d7f2b819d7d8
URL: https://github.com/llvm/llvm-project/commit/1a08f41281bff6ee35d6d904c702d7f2b819d7d8
DIFF: https://github.com/llvm/llvm-project/commit/1a08f41281bff6ee35d6d904c702d7f2b819d7d8.diff
LOG: [lldb] Disable arm64e tests under ASan (#189052)
Technically ASan is supported, but we need an arm64e sanitizer runtime.
It's still enabled when the whole test suite runs as arm64e, assuming
that you need arm64e runtimes regardless.
This will fix
https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-sanitized-os-verification/
rdar://173313715
Added:
Modified:
lldb/packages/Python/lldbsuite/test/decorators.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py
index 02c30f96d85c5..8fd38c62f7b16 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -1196,6 +1196,7 @@ def does_compiler_support_flag():
return skipTestIfFn(does_compiler_support_flag)
+
def skipIfAsan(func):
"""Skip this test if the environment is set up to run LLDB *itself* under ASAN."""
return skipTestIfFn(is_running_under_asan)(func)
@@ -1345,6 +1346,12 @@ def can_build_and_run_arm64e():
if not configuration.arm64e_debugserver:
return "debugserver not built with arm64e support"
+ # Technically ASan is supported, but we need an arm64e sanitizer
+ # runtime and we assume that's not the case unless we run the whole
+ # test suite as arm64e.
+ if is_running_under_asan():
+ return "Sanitizer runtime may not support arm64e"
+
return None
return skipTestIfFn(can_build_and_run_arm64e)(func)
More information about the lldb-commits
mailing list