[Lldb-commits] [lldb] 071ac0a - [lldb] Skip lldb-server unit tests when building with ASan

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 15 13:21:01 PDT 2024


Author: Jonas Devlieghere
Date: 2024-04-15T13:20:54-07:00
New Revision: 071ac0ae3029594167d2bb4d28859bdc36367034

URL: https://github.com/llvm/llvm-project/commit/071ac0ae3029594167d2bb4d28859bdc36367034
DIFF: https://github.com/llvm/llvm-project/commit/071ac0ae3029594167d2bb4d28859bdc36367034.diff

LOG: [lldb] Skip lldb-server unit tests when building with ASan

The lldb-server unit tests are timing out on GreenDragon and swift-ci.
We haven't been able to reproduce this locally or figure out why. We've
made several attempts to address potential issues, but we've reached a
point where we need to skip them to get signal out of this bot again.

Added: 
    

Modified: 
    lldb/unittests/tools/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/tools/CMakeLists.txt b/lldb/unittests/tools/CMakeLists.txt
index 055fc6e6f5df47..42b0c25dd1fc92 100644
--- a/lldb/unittests/tools/CMakeLists.txt
+++ b/lldb/unittests/tools/CMakeLists.txt
@@ -1,3 +1,5 @@
 if(LLDB_TOOL_LLDB_SERVER_BUILD)
-  add_subdirectory(lldb-server)
+  if (NOT LLVM_USE_SANITIZER MATCHES ".*Address.*")
+    add_subdirectory(lldb-server)
+  endif()
 endif()


        


More information about the lldb-commits mailing list