[Lldb-commits] [lldb] [lldb] Remove .noindex suffix from test output directory for non-Darwin (PR #197237)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Sat May 23 16:44:45 PDT 2026


================
@@ -42,12 +42,16 @@ if(LLDB_BUILT_STANDALONE)
 endif()
 
 # Configure the build directory.
-# The .noindex suffix is a marker for Spotlight to never index the
-# build directory.  LLDB queries Spotlight to locate .dSYM bundles
-# based on the UUID embedded in a binary, and because the UUID is a
-# hash of filename and .text section, there *will* be conflicts inside
-# the build directory.
-set(LLDB_TEST_BUILD_DIRECTORY "${PROJECT_BINARY_DIR}/lldb-test-build.noindex" CACHE PATH "The build root for building tests.")
+if(APPLE)
+  # The .noindex suffix is a marker for Spotlight to never index the
+  # build directory.  LLDB queries Spotlight to locate .dSYM bundles
+  # based on the UUID embedded in a binary, and because the UUID is a
+  # hash of filename and .text section, there *will* be conflicts inside
+  # the build directory.
----------------
kastiglione wrote:

for consideration https://github.com/llvm/llvm-project/pull/199385

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


More information about the lldb-commits mailing list