llvm-project/clang/utils/perf-training
Alexander Shaposhnikov 0141e556f5 [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA
At the moment if LLVM_BUILD_INSTRUMENTED is set to True 
one has to set LLVM_PROFTDATA even if it's not really used 
(because of message(FATAL_ERROR ...)). 
Building the instrumented version of Clang can be useful even if 
one doesn't plan to build the target generate-profdata
(currently that target would only compile utils/perf-training/cxx/hello_world.cpp).
For example, one can run the instrumented version of Clang 
via a separate build system against a different codebase, 
collect/analyze the profiles and merge them by llvm-profdata later.

Differential revision: https://reviews.llvm.org/D38859

llvm-svn: 315665
2017-10-13 03:21:39 +00:00
..
cxx [Perf-training] Adding support for tests to skip the clang driver 2016-03-21 22:37:14 +00:00
CMakeLists.txt [clang] Enable clang build with LLVM_BUILD_INSTRUMENTED without setting LLVM_PROFTDATA 2017-10-13 03:21:39 +00:00
README.txt
lit.cfg Fix one more reference to lit.util.capture() 2017-07-05 21:06:11 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
order-files.lit.cfg Fix one more reference to lit.util.capture() 2017-07-05 21:06:11 +00:00
order-files.lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
perf-helper.py Revert "[Order Files] Remove dtrace predicate" 2016-08-02 18:23:56 +00:00

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.