llvm-project/clang/tools
Chris Bieneman 834a40b463 [Perf-Training] Reworked workflow improvements for order-file generation
This is re-landing r260742. I've reworked the conditionals so that it only hits when targeting Apple platforms with ld64.

Original Summary:
With this change generating clang order files using dtrace uses the following workflow:

cmake <whatever options you want>

ninja generate-order-file

ninja clang

This patch works by setting a default path to the order file (which can be overridden by the user). If the order file doesn't exist during configuration CMake will create an empty one.

CMake then ties up the dependencies between the clang link job and the order file, and generate-order-file overwrites CLANG_ORDER_FILE with the new order file.

llvm-svn: 265864
2016-04-08 22:48:18 +00:00
..
arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-arcmt-test Remove autoconf support 2016-01-26 21:30:40 +00:00
c-index-test [c-index-test] Fix leak in print_completion_result, NFC 2016-04-03 00:54:46 +00:00
clang-check Remove autoconf support 2016-01-26 21:30:40 +00:00
clang-format [CMake] Add install-clang-format target by migrating to add_clang_tool 2016-02-23 20:33:15 +00:00
clang-format-vs clang-format sort include use the source file name to determine the 2016-02-10 12:42:58 +00:00
clang-fuzzer [libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. (following llvm r249214) 2015-10-02 23:34:37 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Remove autoconf support 2016-01-26 21:30:40 +00:00
driver [Perf-Training] Reworked workflow improvements for order-file generation 2016-04-08 22:48:18 +00:00
libclang [OpenCL] Complete image types support. 2016-04-08 13:40:33 +00:00
scan-build [analyzer] Add --force-analyze-debug-code option to scan-build 2016-02-18 11:08:46 +00:00
scan-build-py [analyzer][scan-build] Non-existing directory for scan-build output. 2016-02-21 17:04:26 +00:00
scan-view Remove autoconf support 2016-01-26 21:30:40 +00:00
CMakeLists.txt Tweak CMakeLists not for libclang to depend on the variable CLANG_TOOL_EXTRA_BUILD. 2016-03-03 11:09:43 +00:00