Skip to content

Commit 4367cba

Browse files
committed
[lldb] Move comment about noindex next to line it refers to
The comment was originally added in 34769d8. Then D44526 removed the flag added there (but kept the comment), and then D66966 reintroduced a .noindex dir (which D68606 and then 33fca97 moved around a bit). No behavior change. Differential Revision: https://reviews.llvm.org/D107341
1 parent 559d142 commit 4367cba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lldb/test/API/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ set(LLDB_TEST_USER_ARGS
3737
""
3838
CACHE STRING "Specify additional arguments to pass to test runner. For example: '-C gcc -C clang -A i386 -A x86_64'")
3939

40-
# The .noindex suffix is a marker for Spotlight to never index the
41-
# build directory. LLDB queries Spotlight to locate .dSYM bundles
42-
# based on the UUID embedded in a binary, and because the UUID is a
43-
# hash of filename and .text section, there *will* be conflicts inside
44-
# the build directory.
4540
set(LLDB_TEST_COMMON_ARGS
4641
-u CXXFLAGS
4742
-u CFLAGS

lldb/test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ if(LLDB_BUILT_STANDALONE)
1212
endif()
1313

1414
# Configure the build directory.
15+
# The .noindex suffix is a marker for Spotlight to never index the
16+
# build directory. LLDB queries Spotlight to locate .dSYM bundles
17+
# based on the UUID embedded in a binary, and because the UUID is a
18+
# hash of filename and .text section, there *will* be conflicts inside
19+
# the build directory.
1520
set(LLDB_TEST_BUILD_DIRECTORY "${PROJECT_BINARY_DIR}/lldb-test-build.noindex" CACHE PATH "The build root for building tests.")
1621

1722
# Configure and create module cache directories.

0 commit comments

Comments
 (0)