forked from OSchip/llvm-project
834a40b463
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 |
||
---|---|---|
.. | ||
cxx | ||
CMakeLists.txt | ||
README.txt | ||
lit.cfg | ||
lit.site.cfg.in | ||
order-files.lit.cfg | ||
order-files.lit.site.cfg.in | ||
perf-helper.py |
README.txt
========================== Performance Training Data ========================== This directory contains simple source files for use as training data for generating PGO data and linker order files for clang.