summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2016-06-06 23:17:22 +0000
committerVedant Kumar <vsk@apple.com>2016-06-06 23:17:22 +0000
commitf051269a7fa77c5c25e8e632442503e8f97e7914 (patch)
tree9721c2f42968c33e6a6256e9d423a1c0459d3ae1 /llvm/docs/CommandGuide
parent87886425bd68e556ccbcda63d4a12374b3cc92d3 (diff)
downloadbcm5719-llvm-f051269a7fa77c5c25e8e632442503e8f97e7914.tar.gz
bcm5719-llvm-f051269a7fa77c5c25e8e632442503e8f97e7914.zip
Retry^2 "[llvm-profdata] Add option to ingest filepaths from a file"
Changes since the initial commit: - Normalize file paths read from the file to prevent Windows path separators from escaping parts of the path. - Since we need to store the normalized file paths in WeightedFile, don't do tricky things to keep the source MemoryBuffer alive. - Don't use list-initialization for a std::string in WeightedFile. Differential Revision: http://reviews.llvm.org/D20980 llvm-svn: 271953
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-profdata.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-profdata.rst b/llvm/docs/CommandGuide/llvm-profdata.rst
index 12f2771bd00..2742fd3d75d 100644
--- a/llvm/docs/CommandGuide/llvm-profdata.rst
+++ b/llvm/docs/CommandGuide/llvm-profdata.rst
@@ -44,6 +44,9 @@ interpreted as relatively more important than a shorter run. Depending on the
nature of the training runs it may be useful to adjust the weight given to each
input file by using the ``-weighted-input`` option.
+Profiles passed in via ``-weighted-input``, ``-input-files``, or via positional
+arguments are processed once for each time they are seen.
+
OPTIONS
^^^^^^^
@@ -65,6 +68,12 @@ OPTIONS
Input files specified without using this option are assigned a default
weight of 1. Examples are shown below.
+.. option:: -input-files=path, -f=path
+
+ Specify a file which contains a list of files to merge. The entries in this
+ file are newline-separated. Lines starting with '#' are skipped. Entries may
+ be of the form <filename> or <weight>,<filename>.
+
.. option:: -instr (default)
Specify that the input profile is an instrumentation-based profile.
OpenPOWER on IntegriCloud