Skip to content

Commit 470842d

Browse files
committed
[compiler-rt] Revise IDE folder structure
1 parent 0e864bb commit 470842d

File tree

42 files changed

+45
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+45
-73
lines changed

compiler-rt/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# based on the ability of the host toolchain to target various platforms.
55

66
cmake_minimum_required(VERSION 3.20.0)
7+
set(LLVM_SUBPROJECT_TITLE "Compiler-RT")
78

89
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
910
set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
@@ -90,7 +91,7 @@ if (COMPILER_RT_STANDALONE_BUILD)
9091
if (TARGET intrinsics_gen)
9192
# Loading the llvm config causes this target to be imported so place it
9293
# under the appropriate folder in an IDE.
93-
set_target_properties(intrinsics_gen PROPERTIES FOLDER "Compiler-RT Misc")
94+
set_target_properties(intrinsics_gen PROPERTIES FOLDER "LLVM/Tablegenning")
9495
endif()
9596

9697
find_package(Python3 COMPONENTS Interpreter)

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function(add_compiler_rt_object_libraries name)
9191
${extra_cflags_${libname}} ${target_flags})
9292
set_property(TARGET ${libname} APPEND PROPERTY
9393
COMPILE_DEFINITIONS ${LIB_DEFS})
94-
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Libraries")
94+
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT/Libraries")
9595
if(APPLE)
9696
set_target_properties(${libname} PROPERTIES
9797
OSX_ARCHITECTURES "${LIB_ARCHS_${libname}}")
@@ -110,7 +110,7 @@ endmacro()
110110

111111
function(add_compiler_rt_component name)
112112
add_custom_target(${name})
113-
set_target_properties(${name} PROPERTIES FOLDER "Compiler-RT Misc")
113+
set_target_properties(${name} PROPERTIES FOLDER "Compiler-RT/Components")
114114
if(COMMAND runtime_register_component)
115115
runtime_register_component(${name})
116116
endif()
@@ -293,7 +293,7 @@ function(add_compiler_rt_runtime name type)
293293
if(NOT TARGET ${LIB_PARENT_TARGET})
294294
add_custom_target(${LIB_PARENT_TARGET})
295295
set_target_properties(${LIB_PARENT_TARGET} PROPERTIES
296-
FOLDER "Compiler-RT Misc")
296+
FOLDER "Compiler-RT/Runtimes")
297297
endif()
298298
endif()
299299

@@ -348,6 +348,7 @@ function(add_compiler_rt_runtime name type)
348348
DEPENDS ${sources_${libname}}
349349
COMMENT "Building C object ${output_file_${libname}}")
350350
add_custom_target(${libname} DEPENDS ${output_dir_${libname}}/${output_file_${libname}})
351+
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT/Codegenning")
351352
install(FILES ${output_dir_${libname}}/${output_file_${libname}}
352353
DESTINATION ${install_dir_${libname}}
353354
${COMPONENT_OPTION})
@@ -370,8 +371,8 @@ function(add_compiler_rt_runtime name type)
370371
add_dependencies(${libname} ${LIB_DEPS})
371372
endif()
372373
set_target_properties(${libname} PROPERTIES
373-
OUTPUT_NAME ${output_name_${libname}})
374-
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Runtime")
374+
OUTPUT_NAME ${output_name_${libname}}
375+
FOLDER "Compiler-RT/Runtimes")
375376
if(LIB_LINK_LIBS)
376377
target_link_libraries(${libname} PRIVATE ${LIB_LINK_LIBS})
377378
endif()
@@ -538,7 +539,7 @@ function(add_compiler_rt_test test_suite test_name arch)
538539
DEPENDS ${TEST_DEPS}
539540
)
540541
add_custom_target(T${test_name} DEPENDS "${output_bin}")
541-
set_target_properties(T${test_name} PROPERTIES FOLDER "Compiler-RT Tests")
542+
set_target_properties(T${test_name} PROPERTIES FOLDER "Compiler-RT/Tests")
542543

543544
# Make the test suite depend on the binary.
544545
add_dependencies(${test_suite} T${test_name})
@@ -558,7 +559,7 @@ macro(add_compiler_rt_resource_file target_name file_name component)
558559
COMPONENT ${component})
559560
add_dependencies(${component} ${target_name})
560561

561-
set_target_properties(${target_name} PROPERTIES FOLDER "Compiler-RT Misc")
562+
set_target_properties(${target_name} PROPERTIES FOLDER "Compiler-RT/Resources")
562563
endmacro()
563564

564565
macro(add_compiler_rt_script name)
@@ -607,7 +608,7 @@ macro(add_custom_libcxx name prefix)
607608
COMMENT "Clobbering ${name} build directories"
608609
USES_TERMINAL
609610
)
610-
set_target_properties(${name}-clear PROPERTIES FOLDER "Compiler-RT Misc")
611+
set_target_properties(${name}-clear PROPERTIES FOLDER "Compiler-RT/Meta")
611612

612613
add_custom_command(
613614
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp
@@ -619,7 +620,7 @@ macro(add_custom_libcxx name prefix)
619620

620621
add_custom_target(${name}-clobber
621622
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${name}-clobber-stamp)
622-
set_target_properties(${name}-clobber PROPERTIES FOLDER "Compiler-RT Misc")
623+
set_target_properties(${name}-clobber PROPERTIES FOLDER "Compiler-RT/Meta")
623624

624625
set(PASSTHROUGH_VARIABLES
625626
ANDROID

compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ macro(darwin_add_builtin_library name suffix)
336336

337337
list(APPEND ${LIB_OS}_${suffix}_libs ${libname})
338338
list(APPEND ${LIB_OS}_${suffix}_lipo_flags -arch ${arch} $<TARGET_FILE:${libname}>)
339-
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Libraries")
339+
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT/Libraries")
340340
endmacro()
341341

342342
function(darwin_lipo_libs name)
@@ -355,7 +355,7 @@ function(darwin_lipo_libs name)
355355
)
356356
add_custom_target(${name}
357357
DEPENDS ${LIB_OUTPUT_DIR}/lib${name}.a)
358-
set_target_properties(${name} PROPERTIES FOLDER "Compiler-RT Misc")
358+
set_target_properties(${name} PROPERTIES FOLDER "Compiler-RT/Misc")
359359
add_dependencies(${LIB_PARENT_TARGET} ${name})
360360

361361
if(CMAKE_CONFIGURATION_TYPES)

compiler-rt/cmake/Modules/CompilerRTUtils.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ function(add_compiler_rt_install_targets name)
546546
-DCMAKE_INSTALL_DO_STRIP=1
547547
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
548548
set_target_properties(install-${ARG_PARENT_TARGET} PROPERTIES
549-
FOLDER "Compiler-RT Misc")
549+
FOLDER "Compiler-RT/Installation")
550550
set_target_properties(install-${ARG_PARENT_TARGET}-stripped PROPERTIES
551-
FOLDER "Compiler-RT Misc")
551+
FOLDER "Compiler-RT/Installation")
552552
add_dependencies(install-compiler-rt install-${ARG_PARENT_TARGET})
553553
add_dependencies(install-compiler-rt-stripped install-${ARG_PARENT_TARGET}-stripped)
554554
endif()

compiler-rt/cmake/base-config-ix.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ endif()
2323
add_custom_target(compiler-rt ALL)
2424
add_custom_target(install-compiler-rt)
2525
add_custom_target(install-compiler-rt-stripped)
26+
set_property(TARGET compiler-rt PROPERTY FOLDER "Compiler-RT/Metatargets")
2627
set_property(
2728
TARGET
28-
compiler-rt
2929
install-compiler-rt
3030
install-compiler-rt-stripped
3131
PROPERTY
32-
FOLDER "Compiler-RT Misc"
32+
FOLDER "Compiler-RT/Installation"
3333
)
3434

3535
# Setting these variables from an LLVM build is sufficient that compiler-rt can

compiler-rt/include/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ endforeach( f )
7979

8080
add_custom_target(compiler-rt-headers ALL DEPENDS ${out_files})
8181
add_dependencies(compiler-rt compiler-rt-headers)
82-
set_target_properties(compiler-rt-headers PROPERTIES FOLDER "Compiler-RT Misc")
82+
set_target_properties(compiler-rt-headers PROPERTIES FOLDER "Compiler-RT/Resources")
8383

8484
# Install sanitizer headers.
8585
install(FILES ${SANITIZER_HEADERS}

compiler-rt/lib/asan/tests/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,15 @@ append_list_if(COMPILER_RT_HAS_LIBLOG log ASAN_UNITTEST_NOINST_LIBS)
118118

119119
# Main AddressSanitizer unit tests.
120120
add_custom_target(AsanUnitTests)
121-
set_target_properties(AsanUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
121+
set_target_properties(AsanUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
122122

123123
# AddressSanitizer unit tests with dynamic runtime (on platforms where it's
124124
# not the default).
125125
add_custom_target(AsanDynamicUnitTests)
126-
set_target_properties(AsanDynamicUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
126+
set_target_properties(AsanDynamicUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
127127
# ASan benchmarks (not actively used now).
128128
add_custom_target(AsanBenchmarks)
129-
set_target_properties(AsanBenchmarks PROPERTIES FOLDER "Compiler-RT Tests")
129+
set_target_properties(AsanBenchmarks PROPERTIES FOLDER "Compiler-RT/Tests")
130130

131131
set(ASAN_NOINST_TEST_SOURCES
132132
${COMPILER_RT_GTEST_SOURCE}
@@ -278,7 +278,7 @@ if(COMPILER_RT_CAN_EXECUTE_TESTS AND NOT ANDROID)
278278
add_library(${ASAN_TEST_RUNTIME} STATIC ${ASAN_TEST_RUNTIME_OBJECTS})
279279
set_target_properties(${ASAN_TEST_RUNTIME} PROPERTIES
280280
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
281-
FOLDER "Compiler-RT Runtime tests")
281+
FOLDER "Compiler-RT/Tests/Runtime")
282282

283283
add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-inline")
284284
add_asan_tests(${arch} ${ASAN_TEST_RUNTIME} KIND "-calls"

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ set(ve_SOURCES
750750
${GENERIC_SOURCES})
751751

752752
add_custom_target(builtins)
753-
set_target_properties(builtins PROPERTIES FOLDER "Compiler-RT Misc")
753+
set_target_properties(builtins PROPERTIES FOLDER "Compiler-RT/Metatargets")
754754

755755
option(COMPILER_RT_ENABLE_SOFTWARE_INT128
756756
"Enable the int128 builtin routines for all targets."

compiler-rt/lib/fuzzer/tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ if (APPLE)
1212
endif()
1313

1414
add_custom_target(FuzzerUnitTests)
15-
set_target_properties(FuzzerUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
15+
set_target_properties(FuzzerUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
1616

1717
add_custom_target(FuzzedDataProviderUnitTests)
18-
set_target_properties(FuzzedDataProviderUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
18+
set_target_properties(FuzzedDataProviderUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
1919

2020
set(LIBFUZZER_UNITTEST_LINK_FLAGS ${COMPILER_RT_UNITTEST_LINK_FLAGS})
2121
list(APPEND LIBFUZZER_UNITTEST_LINK_FLAGS --driver-mode=g++)
@@ -58,7 +58,7 @@ if(COMPILER_RT_DEFAULT_TARGET_ARCH IN_LIST FUZZER_SUPPORTED_ARCH)
5858
${LIBFUZZER_TEST_RUNTIME_OBJECTS})
5959
set_target_properties(${LIBFUZZER_TEST_RUNTIME} PROPERTIES
6060
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
61-
FOLDER "Compiler-RT Runtime tests")
61+
FOLDER "Compiler-RT/Tests/Runtime")
6262

6363
if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND
6464
COMPILER_RT_LIBCXX_PATH AND

compiler-rt/lib/gwp_asan/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ set(GWP_ASAN_UNIT_TEST_HEADERS
3535
harness.h)
3636

3737
add_custom_target(GwpAsanUnitTests)
38-
set_target_properties(GwpAsanUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
38+
set_target_properties(GwpAsanUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
3939

4040
set(GWP_ASAN_UNITTEST_LINK_FLAGS
4141
${COMPILER_RT_UNITTEST_LINK_FLAGS} -ldl
@@ -67,7 +67,7 @@ if(COMPILER_RT_DEFAULT_TARGET_ARCH IN_LIST GWP_ASAN_SUPPORTED_ARCH)
6767

6868
set_target_properties(${GWP_ASAN_TEST_RUNTIME} PROPERTIES
6969
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
70-
FOLDER "Compiler-RT Runtime tests")
70+
FOLDER "Compiler-RT/Tests/Runtime")
7171

7272
set(GwpAsanTestObjects)
7373
generate_compiler_rt_tests(GwpAsanTestObjects

compiler-rt/lib/interception/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ macro(add_interceptor_lib library)
8181
add_library(${library} STATIC ${ARGN})
8282
set_target_properties(${library} PROPERTIES
8383
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
84-
FOLDER "Compiler-RT Runtime tests")
84+
FOLDER "Compiler-RT/Tests/Runtime")
8585
endmacro()
8686

8787
function(get_interception_lib_for_arch arch lib)
@@ -96,7 +96,7 @@ endfunction()
9696
# Interception unit tests testsuite.
9797
add_custom_target(InterceptionUnitTests)
9898
set_target_properties(InterceptionUnitTests PROPERTIES
99-
FOLDER "Compiler-RT Tests")
99+
FOLDER "Compiler-RT/Tests")
100100

101101
# Adds interception tests for architecture.
102102
macro(add_interception_tests_for_arch arch)

compiler-rt/lib/memprof/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ macro(add_memprof_tests_for_arch arch)
6464
add_library(${MEMPROF_TEST_RUNTIME} STATIC ${MEMPROF_TEST_RUNTIME_OBJECTS})
6565
set_target_properties(${MEMPROF_TEST_RUNTIME} PROPERTIES
6666
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
67-
FOLDER "Compiler-RT Runtime tests")
67+
FOLDER "Compiler-RT/Tests/Runtime")
6868
set(MEMPROF_TEST_OBJECTS)
6969
generate_compiler_rt_tests(MEMPROF_TEST_OBJECTS
7070
MemProfUnitTests "MemProf-${arch}-UnitTest" ${arch}
@@ -78,7 +78,7 @@ endmacro()
7878

7979
# MemProf unit tests testsuite.
8080
add_custom_target(MemProfUnitTests)
81-
set_target_properties(MemProfUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
81+
set_target_properties(MemProfUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
8282
if(COMPILER_RT_CAN_EXECUTE_TESTS AND COMPILER_RT_DEFAULT_TARGET_ARCH IN_LIST MEMPROF_SUPPORTED_ARCH)
8383
# MemProf unit tests are only run on the host machine.
8484
foreach(arch ${COMPILER_RT_DEFAULT_TARGET_ARCH})

compiler-rt/lib/orc/tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ include_directories(..)
44

55
# Unit tests target.
66
add_custom_target(OrcRTUnitTests)
7-
set_target_properties(OrcRTUnitTests PROPERTIES FOLDER "OrcRT unittests")
7+
set_target_properties(OrcRTUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
88

99
# Testing tools target.
1010
add_custom_target(OrcRTTools)
11-
set_target_properties(OrcRTTools PROPERTIES FOLDER "OrcRT tools")
11+
set_target_properties(OrcRTTools PROPERTIES FOLDER "Compiler-RT/Tools")
1212

1313
set(ORC_UNITTEST_CFLAGS
1414
# FIXME: This should be set for all unit tests.
@@ -22,7 +22,7 @@ function(add_orc_lib library)
2222
add_library(${library} STATIC ${ARGN})
2323
set_target_properties(${library} PROPERTIES
2424
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
25-
FOLDER "Compiler-RT Runtime tests")
25+
FOLDER "Compiler-RT/Tests/Runtime")
2626
endfunction()
2727

2828
function(get_orc_lib_for_arch arch lib)

compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ macro(add_sanitizer_common_lib library)
143143
add_library(${library} STATIC ${ARGN})
144144
set_target_properties(${library} PROPERTIES
145145
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
146-
FOLDER "Compiler-RT Runtime tests")
146+
FOLDER "Compiler-RT/Tests/Runtime")
147147
endmacro()
148148

149149
function(get_sanitizer_common_lib_for_arch arch lib)
@@ -157,7 +157,7 @@ endfunction()
157157

158158
# Sanitizer_common unit tests testsuite.
159159
add_custom_target(SanitizerUnitTests)
160-
set_target_properties(SanitizerUnitTests PROPERTIES FOLDER "Compiler-RT Tests")
160+
set_target_properties(SanitizerUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
161161

162162
# Adds sanitizer tests for architecture.
163163
macro(add_sanitizer_tests_for_arch arch)

compiler-rt/lib/stats/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set(STATS_HEADERS
44
include_directories(..)
55

66
add_custom_target(stats)
7-
set_target_properties(stats PROPERTIES FOLDER "Compiler-RT Misc")
7+
set_target_properties(stats PROPERTIES FOLDER "Compiler-RT/Metatargets")
88

99
if(APPLE)
1010
set(STATS_LIB_FLAVOR SHARED)

compiler-rt/lib/tsan/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ if(COMPILER_RT_LIBCXX_PATH AND
3535
endforeach()
3636

3737
add_custom_target(libcxx_tsan DEPENDS ${libcxx_tsan_deps})
38-
set_target_properties(libcxx_tsan PROPERTIES FOLDER "Compiler-RT Misc")
38+
set_target_properties(libcxx_tsan PROPERTIES FOLDER "Compiler-RT/Metatargets")
3939
endif()
4040

4141
if(COMPILER_RT_INCLUDE_TESTS)

compiler-rt/lib/tsan/dd/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ append_list_if(COMPILER_RT_HAS_LIBRT rt DD_LINKLIBS)
2020
append_list_if(COMPILER_RT_HAS_LIBPTHREAD pthread DD_LINKLIBS)
2121

2222
add_custom_target(dd)
23-
set_target_properties(dd PROPERTIES FOLDER "Compiler-RT Misc")
23+
set_target_properties(dd PROPERTIES FOLDER "Compiler-RT/Metatargets")
2424

2525
# Deadlock detector is currently supported on 64-bit Linux only.
2626
if(CAN_TARGET_x86_64 AND UNIX AND NOT APPLE AND NOT ANDROID)

compiler-rt/lib/tsan/rtl/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ if(APPLE)
167167
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../go
168168
COMMENT "Checking TSan Go runtime..."
169169
VERBATIM)
170-
set_target_properties(GotsanRuntimeCheck PROPERTIES FOLDER "Compiler-RT Misc")
170+
set_target_properties(GotsanRuntimeCheck PROPERTIES FOLDER "Compiler-RT/Misc")
171171
else()
172172
foreach(arch ${TSAN_SUPPORTED_ARCH})
173173
if(arch STREQUAL "x86_64")

compiler-rt/lib/xray/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include_directories(..)
22

33
add_custom_target(XRayUnitTests)
4-
set_target_properties(XRayUnitTests PROPERTIES FOLDER "XRay unittests")
4+
set_target_properties(XRayUnitTests PROPERTIES FOLDER "Compiler-RT/Tests")
55

66
# Sanity check XRAY_ALL_SOURCE_FILES_ABS_PATHS
77
list(LENGTH XRAY_ALL_SOURCE_FILES_ABS_PATHS XASFAP_LENGTH)
@@ -34,7 +34,7 @@ function(add_xray_lib library)
3434
add_library(${library} STATIC ${ARGN})
3535
set_target_properties(${library} PROPERTIES
3636
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
37-
FOLDER "Compiler-RT Runtime tests")
37+
FOLDER "Compiler-RT/Tests/Runtime")
3838
endfunction()
3939

4040
function(get_xray_lib_for_arch arch lib)

compiler-rt/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ endif()
113113
# introduce a rule to run to run all of them.
114114
get_property(LLVM_COMPILER_RT_LIT_DEPENDS GLOBAL PROPERTY LLVM_COMPILER_RT_LIT_DEPENDS)
115115
add_custom_target(compiler-rt-test-depends)
116+
set_target_properties(compiler-rt-test-depends PROPERTIES FOLDER "Compiler-RT/Tests")
116117
if(LLVM_COMPILER_RT_LIT_DEPENDS)
117118
add_dependencies(compiler-rt-test-depends ${LLVM_COMPILER_RT_LIT_DEPENDS})
118119
endif()

compiler-rt/test/asan/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,11 @@ add_lit_testsuite(check-asan "Running the AddressSanitizer tests"
174174
${ASAN_TESTSUITES}
175175
${exclude_from_check_all}
176176
DEPENDS ${ASAN_TEST_DEPS})
177-
set_target_properties(check-asan PROPERTIES FOLDER "Compiler-RT Misc")
178177

179178
if(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME)
180179
add_lit_testsuite(check-asan-dynamic
181180
"Running the AddressSanitizer tests with dynamic runtime"
182181
${ASAN_DYNAMIC_TESTSUITES}
183182
${exclude_from_check_all.g}
184183
DEPENDS ${ASAN_DYNAMIC_TEST_DEPS})
185-
set_target_properties(check-asan-dynamic
186-
PROPERTIES FOLDER "Compiler-RT Misc")
187184
endif()

compiler-rt/test/asan_abi/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,3 @@ add_lit_testsuite(check-asan-abi "Running the AddressSanitizerABI tests"
7878
${ASAN_ABI_TESTSUITES}
7979
${exclude_from_check_all}
8080
DEPENDS ${ASAN_ABI_TEST_DEPS})
81-
set_target_properties(check-asan-abi PROPERTIES FOLDER "Compiler-RT Misc")

compiler-rt/test/builtins/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,3 @@ endforeach()
113113
add_lit_testsuite(check-builtins "Running the Builtins tests"
114114
${BUILTINS_TESTSUITES}
115115
DEPENDS ${BUILTINS_TEST_DEPS})
116-
set_target_properties(check-builtins PROPERTIES FOLDER "Compiler-RT Misc")

0 commit comments

Comments
 (0)