[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 14:06:07 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:
@adrian-prantl @JDevlieghere What if, instead of using a .noindex suffix to solve the problem described in this comment, we instead add `-random_uuid` as a linker flag on macOS/darwin?
https://github.com/llvm/llvm-project/pull/197237
More information about the lldb-commits
mailing list