File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,3 @@ add_benchmark(SandboxIRBench SandboxIRBench.cpp PARTIAL_SOURCES_INTENDED)
1414add_benchmark(RuntimeLibcallsBench RuntimeLibcalls.cpp PARTIAL_SOURCES_INTENDED)
1515
1616
17- if (TARGET llvm-nm)
18- # Extract the list of symbols in a random utility as sample data.
19- set (SYMBOL_TEST_DATA_FILE "sample_symbol_list.txt" )
20- set (SYMBOL_TEST_DATA_SOURCE_BINARY $<TARGET_FILE:llc>)
21-
22- add_custom_command (OUTPUT ${SYMBOL_TEST_DATA_FILE}
23- COMMAND $<TARGET_FILE:llvm-nm> --no -demangle --no -sort
24- --format=just-symbols
25- ${SYMBOL_TEST_DATA_SOURCE_BINARY} > ${SYMBOL_TEST_DATA_FILE}
26- DEPENDS "$<TARGET_FILE:llvm-nm>" "$<TARGET_FILE:llc>" )
27-
28- add_custom_target (generate-runtime-libcalls-sample-symbol-list
29- DEPENDS ${SYMBOL_TEST_DATA_FILE} )
30-
31- add_dependencies (RuntimeLibcallsBench generate-runtime-libcalls-sample-symbol-list)
32- target_compile_definitions (RuntimeLibcallsBench PRIVATE
33- -DSYMBOL_TEST_DATA_FILE="${CMAKE_CURRENT_BINARY_DIR} /${SYMBOL_TEST_DATA_FILE} " )
34- endif ()
You can’t perform that action at this time.
0 commit comments